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.Close Method

Closes the Socket connection and releases all associated resources.

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

  NameDescription
Public method Close() Closes the Socket connection and releases all associated resources.
Public method Close(Int32) Closes the Socket connection and releases all associated resources with a specified timeout to allow queued data to be sent.
Top

Community Additions

Show:
© 2014 Microsoft