A message for data waiting at a socket?

shaosean at unitz.ca shaosean at unitz.ca
Sat Jan 3 03:17:13 EST 2004


when your client connects to the server, have the server reconnect back 
to the client and let your client act as a server (if that makes sense ;-
)

what dar was mentioning would work very similiar to what you want to do 
(at least as i understand it)..

- write your data (blocking or non-blocking it doesn't matter)
- read from the socket in non-blocking
ie. read from socket sSocketPointer until CRLF with 
message "dataReceived"

now whenever your server has data to be sent to the client, the 
message "dataReceived" will be triggered..

-Sean



More information about the use-livecode mailing list