• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to find out if a TCP port is in use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to find out if a TCP port is in use?
      • From: Andrei Tchijov <email@hidden>
  • Prev by Date: Re: RAW image format support in NSImage
  • Next by Date: Locking/synchronization conundrum
  • Previous by thread: Re: Object allocation problem
  • Next by thread: Re: How to find out if a TCP port is in use?
  • Index(es):
    • Date
    • Thread