dungism
Dec 31st, 1999, 01:54 PM
hi, i've managed to connect and send data with winsock.dll functions. Then i ran into a few problems... I am making a very simple *****peer chat. My server listen on certain port and client connect to that port. Now, I am trying to send data back and forth, but then I wonder. Should I keep that socket alive and transfer with that socket(if it's possible), or create new socket everytime I press send? And also, for my server, I tried to use a timer with recv() to see if I got data, then it froze. Are there any other ways to notice the incomming data from client?? Please help me out!!!!!!!