Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Socket vs Wcf communication

Tags:

c#

.net

wcf

sockets

Did Wcf replace socket? for client server application i need that client send some messages to server and the server can do the same thing without waiting request from any client. So can i do this or wcf can only expose many services that client need and the communication can't be interactif and bidirectionnal? thanks

like image 861
Lamloumi Afif Avatar asked May 27 '26 14:05

Lamloumi Afif


1 Answers

Do you want the connection to be persistant? If so then this doesn't sound like a good case for WCF. Perhaps take a look at something like ZeroMQ instead.

like image 93
OJ. Avatar answered May 30 '26 03:05

OJ.