Giter Site home page Giter Site logo

unity-3d-xmpp-protocol-'s Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @bilelmnasser
  • ๐Ÿ‘€ Iโ€™m interested in Computer Science and everything about software developpement
  • ๐ŸŒฑ Iโ€™m currently learning .Net MAUI From Microsoft
  • ๐Ÿ’ž๏ธ Iโ€™m looking for collaboration on XR || AI || Mobile || 3D Projects
  • ๐Ÿ“ซ If You want How to reach me, follow this link : https://www.linkedin.com/in/bilel-mnasser/ ๐Ÿ‘‹

unity-3d-xmpp-protocol-'s People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

unity-3d-xmpp-protocol-'s Issues

OnMessage doesn't work in my Unity

My code is below:

void Start()
{
    // ------ Setting xmpp connection ------ 
    conn = new XmppClientConnection();
    conn.Port = 5222;
    conn.Server = "persib.com";
    conn.Status = PresenceType.available.ToString();
    conn.Resource = "Persib";
    conn.Priority = 1;
    conn.Show = ShowType.chat;
    conn.AutoPresence = true;
    conn.AutoRoster = true;
    conn.EnableCapabilities = true;

    // ------ Setting xmpp related event handlers ------ 
    conn.OnLogin += Conn_OnLogin;
    conn.OnError += Conn_OnError;
    conn.OnRosterStart += Conn_OnRosterStart;
    conn.OnRosterItem += Conn_OnRosterItem;
    conn.OnRosterEnd += Conn_OnRosterEnd;
    conn.OnPresence += Conn_OnPresence;
    conn.OnMessage += Conn_OnMessage;
}


private void Conn_OnMessage(object sender, Message msg)
{
    print("GOT NEW MESSAGE");
}

My Unity console never print "GOT NEW MESSAGE"...

Please help

How to transfer file?

Thanks a lot, I am new to XMPP, it is work in text message. Now I want to transfer file like photo and voice, is that support or how to do that? thanks.

SCRAM-SHA-1-PLUS + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) + SCRAM-SHA3-512(-PLUS) supports

Dear @bilelmnasser,

Thanks for your code!
I see that there is the SCRAM-SHA-1 support.

Can you add supports of :

  • SCRAM-SHA-1-PLUS
  • SCRAM-SHA-256
  • SCRAM-SHA-256-PLUS
  • SCRAM-SHA-512
  • SCRAM-SHA-512-PLUS
  • SCRAM-SHA3-512
  • SCRAM-SHA3-512-PLUS

You can add too:

  • SCRAM-SHA-224
  • SCRAM-SHA-224-PLUS
  • SCRAM-SHA-384
  • SCRAM-SHA-384-PLUS

"When using the SASL SCRAM mechanism, the SCRAM-SHA-256-PLUS variant SHOULD be preferred over the SCRAM-SHA-256 variant, and SHA-256 variants [RFC7677] SHOULD be preferred over SHA-1 variants [RFC5802]".

https://xmpp.org/extensions/inbox/hash-recommendations.html

-PLUS variants:

IMAP:

LDAP:

  • RFC5803: Lightweight Directory Access Protocol (LDAP) Schema for Storing Salted: Challenge Response Authentication Mechanism (SCRAM) Secrets: https://tools.ietf.org/html/rfc5803

HTTP:

2FA:

IANA:

Linked to:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.