client server

  • Thread starter Thread starter rs
  • Start date Start date
R

rs

I am trying to build a simple chat program between two people. I am using
sockets asynchronously . I am following the following example:

http://msdn.microsoft.com/library/d...n-us/cpguide/html/cpconusingclientsockets.asp

as you know, in a chat program, you type the message you want to send to
the other person and press the "send" for example. so the other window
should be waiting for more text to come. in the example above, the handle
gets close every time a complete text received. do i need to create one
socket to send all the text i need or do i need to create a socket everytime
a line is sent?

thanks
 
Hi,

Maybe this will help
http://network.programming-in.net/articles/art3.asp

Here is how to make a p2p program using web services.
http://msdn.microsoft.com/msdnmag/issues/04/08/AdvancedBasics/


Ken
---------------------
I am trying to build a simple chat program between two people. I am using
sockets asynchronously . I am following the following example:

http://msdn.microsoft.com/library/d...n-us/cpguide/html/cpconusingclientsockets.asp

as you know, in a chat program, you type the message you want to send to
the other person and press the "send" for example. so the other window
should be waiting for more text to come. in the example above, the handle
gets close every time a complete text received. do i need to create one
socket to send all the text i need or do i need to create a socket everytime
a line is sent?

thanks
 
Back
Top