On Thu, May 12, 2005 at 05:22:43PM +0200, Alfons Adriaensen wrote:
One thing I forgot to mention regarding /addclient :
the response
to this will include a client ID (integer) that is a required
parameter to all polled requests for information, such as e.g.
the list of stops. This ID identifies the client on the common
server socket (I see no other way to do this with a single socket).
i might be missing something, but why don't you use the
client network address as a unique identifier? you can use
recvfrom(2) to extract the return address from a udp packet.
<sk>