Socket stuff

Dar Scott dsc at swcp.com
Mon Mar 18 17:31:01 EST 2002


On Monday, March 18, 2002, at 01:56 PM, Shao Sean wrote:

> for client/server apps, take a look at the really bare-bones, but 
> ultra-cool
> chat server/client on the "user contribution" page.. the server 
> helped me
> understand the "accept" version of the "open socket" much better

This is a good clean example of a TCP server.  The idea of keeping 
state for each connection in an array is a good one; in a more 
advanced application the array can be expanded to 2D.  My thanks to 
Tuviah Snyder.

I don't see that it handles socketError, but that is no big deal.

Dar Scott





More information about the use-livecode mailing list