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
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