Hi Eric,
TryToSend will exit if winsock returns WSAEWOULDBLOCK. I think that is the
reason for the message pump call. I never used the Flush method.
--
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be
-Oorspronkelijk bericht-
Van:
I have very simillar situation, my clients (embedded units connected
through GPRS) expect some sequence of bytes from server after
connecting. Clients are able to send their data after they receive this
starting sequence. I just send sequence of bytes in OnClientConnect
events of server socket