I'm looking forward to roll out a simple server/client software, just to understand this field a little better.
So, as the title says, with what and where should I begin when building a full-duplex Client and Server software?
I'm looking to build it with C#, probably, but yeah, any language will cut it since I'm more interested in algorithms and simple implementations.
Last but not least, targeted mainly for working with TCP, but possible that I'll want to expand for specific data types later on.
Thanks in advance!
I am just building such a thing myself, and I think socket.io is great framework for full-duplex server-client event-driven communication. But it is node.js, not C#. On the other hand, you can write client in a browser and server in the same language as the client; moreover, node.js is specialized in "doing networking right", so you can learn things like non-blocking IO as well.
I absolutely agree with use of WCF from the previous answers. That will definitely handle the server side of this interaction. Code Project also has a lot of good examples of client/server interactions. Check out something like A TCP/IP Server written in C#.
To answer your question about cross-platform, I've used WCF to connect to and interact with Java, .NET and Objective-C clients, so I think you're safe there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With