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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get ports information?

Status
Not open for further replies.

DiegoErnesto

Programmer
Nov 28, 2001
41
EC
Hi;

Please, I need help. I have a client program and other server and use port 2000 for to connect, when restart the computer work well but when initialize other application in the server and down the server program and again run this program don't work. I want to know if this port is busy.

My server computer is for BI and wake up many services.

Try obtain this information with getservbyport(<port number>, <protocol>) but don't get information that I wait.

any idea is welcome.

Thanks and regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top