Anybody know how to tell which ports are in use on a Mac? And on a PC? The goal is to avoid the ports in use when setting up communications via upd, etc..
netstat is your friend:
$ netstat -p tcp
$ netstat -p udp
will list you the active TCP and UDP ports, respectively. For more info, have a look at
$ man netstat
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.