after execut this command netstat -na
have a display which are showing some listening ports and local address and state
i want know which port i can use for socket c# programming ?
Jump to Post
You can use any port you want. But some of them are currently 'reserved' for use by various applications (25 for mail, 110 for PoP, 80 for HTML, etc.)
For general programming use, it is recommended that you use a port from 1024 through 49151. The Internet Assigned Number Authority …
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.