multi client/server chat program in c#?

前端 未结 4 808
天命终不由人
天命终不由人 2021-01-23 11:36

the clients will be able to chat one-to-one and in group (temperately rooms) similar to Skype.

I will use the server to authorize the clients

my question is whic

4条回答
  •  别那么骄傲
    2021-01-23 11:49

    I did not use WCF yet, but I can testify that TCPClient is a popular good start to do it, it works perfectly well, and you will find many ready-to-use examples all around the net. Besides, if you are beginning into networking, it is a good way to acknowledge the technology because you will know exactly what you are exactly doing and it will help you understand the basics of client/server technology.

    On the other Side, WCF seems to be a lot more simplified and straightforward, but makes it difficult to see what goes on behind the scenes.

    I suggest you try both with simple pieces of code and see for yourself, that's what I did every time I had technology alternatives to choose from, and this is IMHO the best way to make your own relevant decision.

提交回复
热议问题