By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,343 Members | 925 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,343 IT Pros & Developers. It's quick & easy.

Shut Off TCP/IP Port.

P: n/a
Anyone ever write code to close a tcp/ip port using vb.net code?

Sample code?
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Public Sub Disconnect()
Try
Client.Shutdown(SocketShutdown.Both)
Catch
End Try
Client.Close()
End Sub

Peter wrote:
Anyone ever write code to close a tcp/ip port using vb.net code?

Sample code?


Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.