View Single Post
Old May 25th, 2006, 5:23 PM   #2
hbe02
Hobbyist Programmer
 
hbe02's Avatar
 
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3 hbe02 is on a distinguished road
This is what i was trying to do before i dove into WSAnetwork events
	while(true)
	{
             if(com->Recieve(host,buffer))
		{
		           //read buffer and do something	
		}
		else
			cout<<"\rthere";
      }
so i practically want to keep printing "there" until forever . but when i recieve a buffer over the socket form the client. then i read it and do some other operation.
hbe02 is offline   Reply With Quote