XmppDotNet icon indicating copy to clipboard operation
XmppDotNet copied to clipboard

Server Example?

Open BSRevival opened this issue 11 months ago • 1 comments

Are you going to write a server example for this like you did with vNext? If you do can i make a request to add simple room support?

Thank you in advance

BSRevival avatar Jan 11 '25 06:01 BSRevival

MatriX vNext was renamed to XmppDotNet. The vNext server sample should work also fine with XmppDotNet after some minor changes, mostly namespaces.

The old server samples where based on DotNetty socket framework which seems not to be maintained anymore. One of the core parts of a server is the socket framework, threading model and pooling. And there is no one fits all architecture for that. Some servers need high performance and high throughput, where others may focus on simple architecture and performance is not important. This is why I am currently not providing a server example.

You can also look at some of the unit tests which use the dotnet build in websocket server for sockets. This can be a great and simple architecture when websockets are an option for you. For raw sockets you need to write your own framework or choose an existing one like DotNetty.

agnauck avatar Jan 11 '25 09:01 agnauck