3

How can I make a customised XMPP/Jabber server in C# using only the libraries/services in .NET?

Is it possible? I've been searching the Internet for the last hour looking for an answer and all I can see is 'agsXMPP'.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
user2423956
  • 31
  • 1
  • 3

1 Answers1

0

Yes, you can do an xmpp server using libraries. Basically, using sockets to handle bytes and use StreamParser on Matrix or AgsXMPP to handle streamstart (stream:stream), elements (iq, auth, session, bind, starttls), etc...

Matrix.vNext (renamed to XmppDotNet): Freeware(?) (multiplatform support, built using dotnetty and reactive design you can design own server) https://www.ag-software.net/matrix-vnext/
AgsXMPP: Free (not stable, no .netstandard support)

Example: csharp/Server - GitLab See: XmppServerConnection.cs

IAsyncResult
  • 136
  • 1
  • 13