Replacement of TcpListener.Pending on sockets

  • Thread starter Thread starter Nuno Magalhaes
  • Start date Start date
N

Nuno Magalhaes

sock.Accept() blocks until it finds a connection. How can I implement a
TcpListener.Pending method using sockets only?

Thank you,
Nuno Magalhaes.
 
I already found a solution using the BeginAccept/EndAccept asynchronous
primitives.

Thanks anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top