David said:
Hello.
What is nonblocking sockets and how can I ues it?
Can you show me some seamlpe please?
The Socket class has a property called "Blocking".
Here is what MSDN says
[
The Blocking property indicates whether a Socket is in blocking mode.
If you are in blocking mode, and you make a method call which does not
complete immediately, your application will block execution until the
requested operation completes. If you want execution to continue even
though the requested operation is not complete, change the Blocking
property to false. The Blocking property has no effect on asynchronous
methods. If you are sending and receiving data asynchronously and want
to block execution, use the ManualResetEvent class.
]
Sometimes, MSDN is more helpful than this newsgroup, at least my feeling.
HTH.