How to find out if a TCP port is in use?
How to find out if a TCP port is in use?
- Subject: How to find out if a TCP port is in use?
- From: Stephan Ruggiero <email@hidden>
- Date: Fri, 17 Mar 2006 17:27:40 +0100
Hello list,
In my cocoa app I want to start a process that is listening on a
single TCP port in the background.
Is there a way to find out if there is already an other process using
this port?
Linux brings a `netstat`command that can list the processes and their
ports but the darwin version seems not to have this functionality...
Thank you very much for your help!
Best regards,
Stephan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden