By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,890 Members | 1,115 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,890 IT Pros & Developers. It's quick & easy.

Reading/Writing in the same NetworkStream

P: n/a
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

Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Nikolay,

Have you ever thought on a Webservice for your problem?

http://msdn.microsoft.com/library/de...alkthrough.asp

I hope this helps a little bit?

Cor
Nov 21 '05 #2

P: n/a
I don't want a web service.

Nov 21 '05 #3

P: n/a
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
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.