TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
students552
NA
23
0
what is the wrong???
Feb 7 2005 11:34 PM
I have a big problem : I'm also trying to control the port[open port , close port ,...] and i write the following code in C#: Socket serialPort1 = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); System.Net.IPAddress LocalIPAddress = System.Net.IPAddress.Parse("127.0.0.1"); System.Net.IPEndPoint LocalEndPoint = new System.Net.IPEndPoint( LocalIPAddress,80 ); serialPort1.Connect(LocalEndPoint); serialPort1.Blocking = false; serialPort1.Shutdown(SocketShutdown.Both); serialPort1.Close(); I think after the program execute i cann't open any web page because the port (80) as the http and when i closed it i cann't open any web page . but in fact after the program execute not happened any thing i can also open any web page ????!!!!! what is the wrong in last code ????!!! Please some one help me thanks
Reply
Answers (
1
)
Default arguments
how can I add child items in treeview using vb.net