NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Socket Class

The Socket class implements the Berkeley sockets interface.

Object
   Socket

[Visual Basic]
Public Class Socket
[C#]
public class Socket
[C++]
public __gc class Socket
[JScript]
public class Socket

Remarks

The Socket class creates a managed version of an Internet transport service. Once the socket is created, it is bound to a specific end point with the Bind method. The connection to the end point is established with the Connect method, and then data is sent to the socket using the Send or SendTo methods, and data is read from the socket using the Receive and ReceiveFrom methods. After use, the Shutdown method is used to disable the socket, and the Close method closes the socket.

Requirements

Namespace: System.Net.Sockets

Assembly: System.net.dll

See Also

Socket Members | System.Net.Sockets Namespace