Answer:
The Socket class provides enriched methods and properties for network communications. It allows both synchronous and asynchronous data transfer. Shutdown method should be used to end the Socket once the data transfer is complete. Using SetSocketOption the socket can be configured.
Declaration:
Public Class Socket _
Implements IDisposable
Declaration:
Public Class Socket _
Implements IDisposable
Previous Question | Next Question |
Can you explain what is race condition? How does the race condition occur? | What is Server Socket Class? |