zildjohn01
Programmer
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. my current implementation has a for(; loop calling the Accept method, but this is too processor intensive.
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
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