Socket Constructor

Initializes a new instance of the Socket class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Socket(SocketInformation) Initializes a new instance of the Socket class using the specified value returned from DuplicateAndClose.
Public method Socket(SocketType, ProtocolType) Initializes a new instance of the Socket class using the specified socket type and protocol.
Public method Socket(AddressFamily, SocketType, ProtocolType) Initializes a new instance of the Socket class using the specified address family, socket type and protocol.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft