Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# Opening Port

Status
Not open for further replies.
For your site to serve pages over? Or for some custom server code you've wrtten?

Chip H.

If you want to get the best response to a question, please check out FAQ222-2244 first
 
Socket programming is not easy, but you can start by looking at the sample code in the IPEndPoint class (part of the System.Net namespace). It shows opening a socket to a remote server and retreiving the contents of the homepage there. Only difference is instead of using port 80 in the IPAddress constructor, you'd use your port 2000.

I suggest you read:



Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top