I want to create une simple Chat application between 2 users in a LOCAL NETWORK

For that I create 2 stacks  one  for each user


I create fields to store the messages to be sent and to be received
I create controls to Open and close socketsocket

I can create control  to write to socket  (for sending messages)

But How to receive the messages ?
Yes i can create a button for reading from socket , but I want to receive automatically the messages that have been sent

It would be possible using an Idle handler ( on idle ,read from socket -end idle) but this would slow down my application

Is there another way

Thanks for help


Serge BRAMI

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to