> > Can I get the IP address of an incoming TCP/IP session
> > before accepting it, so I can ignore it?
> 
> You can't.
> You have to accept the incomming connection, get the remote IP and 
> then, if you decide to, abort it.

OK, so I accept the connection into a temporary TWSocket, get the IP 
address and then decide which permanent TWSocket I want to use and Dup 
the handle.  How do I then 'undup' the handle so I can free the 
temporary socket without closing the connection?  

This application listens on multiple ports for TCP or UDP connections, 
when it finds TCP from an expected IP addresses it allocates them to a 
previously created TWSocket.  

Angus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to