tcp ip - TCP/IP server/client multiconnection using C# and receiving public ip address of client -


i need write application using c#, connect client server static ip address.

the server , clients must able send , receive message @ same time. also, need log information respect of clients public address well.

how can make using c#?

shall use tcplistener / tcpclient or there other method can make multiple connections?

if want go low level tcp/ip , own message parse/serialize/deserialize, can use socketasynceventargs high performance code, not easy tcplistener/tcpclient.

http://msdn.microsoft.com/en-us/library/vstudio/system.net.sockets.socketasynceventargs

http://www.codeproject.com/articles/83102/c-socketasynceventargs-high-performance-socket-cod

question is, why not use example wcf/iis ?


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -