Reading/Writing in the same NetworkStream

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
 
C

Cor Ligthert

Nikolay,
I don't want a web service.

Why, it is not impossible that it will save you a lot of time instead that
what I understand as a kind of IRC application.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top