开发者

Send commands from client to server in C# without using WCF

开发者 https://www.devze.com 2023-03-28 14:18 出处:网络
I would like to send commands to a server from a c开发者_JAVA百科lient application without have to create my own protocol or message structure.I am mainly wondering what options I have besides WCF.Doe

I would like to send commands to a server from a c开发者_JAVA百科lient application without have to create my own protocol or message structure. I am mainly wondering what options I have besides WCF. Does anyone have any suggestions?


Depending on the complexity of the calls, you could just use HttpWebRequest.


you could use TCPClient and TCPListener

http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx

http://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号