N
Nikolay Petrov
I need to develop an Client/Server network application, which should
transfer diferent types of data from the client to server and back.
The server should accetps many clients.
I wonder what should I use, asyncronus sockets, threads or something
else?
Also when the client establishes connection with the server, can I use
the underlaying stream for communication in both ways, like when
clients sends data to server, the server sends data to client at the
same time?
Should I create two threads for each connection, one that reads data,
and other thar writes?
thanks
transfer diferent types of data from the client to server and back.
The server should accetps many clients.
I wonder what should I use, asyncronus sockets, threads or something
else?
Also when the client establishes connection with the server, can I use
the underlaying stream for communication in both ways, like when
clients sends data to server, the server sends data to client at the
same time?
Should I create two threads for each connection, one that reads data,
and other thar writes?
thanks