hi, i am setting up a tcp server, and was wondering if there is a way to have the Listen() method block the calling thread, or to get a notification when a connection attempt is made.

Also, as a side note, is there a way to determine the source address of an attempted connection before accepting/denying it?

Thx in advance,
John