Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Close Method

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.

  Name Description
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
Show:
© 2015 Microsoft