You will already have done something like this...
tcp_reserveport(PORT);
tcp_listen(&commsSock,PORT,0,0,NULL,0);
So now you must periodically call
tcp_tick(&commsSock);
And then when:
sock_established(&commsSock) == true
you know your client has connected.
You know the client has disconnected when:
tcp_tick(&commsSock)==0
Hope this helps.
Kenny.
-----Original Message-----
From: rabbit-semi@yahoogroups.com [mailto:rabbit-semi@yahoogroups.com] On
Behalf Of Alexis
Sent: 13 July 2009 11:43
To: rabbit-semi@yahoogroups.com
Subject: [rabbit-semi] Ethernet connection
How does one tell when a client has connected to the Ethernet or PPP
port of the Rabbit?
Regards
A.
------------------------------------
Yahoo! Groups Links