Questions of 7 jul 02 (connectionID)

peter.fink at tiscali.ch peter.fink at tiscali.ch
Tue Jul 9 03:26:01 EDT 2002


>
>>> 1) accept command returns a connectionID. How and where is it 
>>> returned?
>>
>> Peter, It's returned with the message.
>
>
>If the accept is for tcp (the "datagram" keyword is not included), 
>the message has only one parameter.  It is a socketID, a string 
>used to represent the connection.  It uniquely represents the 
>connection created.  It includes the remote IP address and port, 
>but that is not always enough to make the connection unique, so a 
>connectionID is added.  As far as I know, its only use is to make 


Scott thanks. The RR docs say that the parameter to the callback msg of
accept is the IP address, but you specify that it is the connection ID.
This clarifies it.

Peter









More information about the use-livecode mailing list