Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Socket Constructor

 

Initializes a new instance of the Socket class.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSocket(AddressFamily, SocketType, ProtocolType)

Initializes a new instance of the Socket class using the specified address family, socket type and protocol.

System_CAPS_pubmethodSocket(SocketInformation)

Initializes a new instance of the Socket class using the specified value returned from DuplicateAndClose.

System_CAPS_pubmethodSocket(SocketType, ProtocolType)

Initializes a new instance of the Socket class using the specified socket type and protocol.

Return to top
Show:
© 2017 Microsoft