Just needed to clarify something that may be a bad programming habit, but could sort out a few other issues I'm having.
When I started using max, I was programming a monome which from memory used host port 8000, and listened on 8080. This was when using serialosc. Then, when I got my new computer, the game changed, and there's a sub-patcher that is used instead... can't seem to put my finger on the name of it right now...sorry!
However, I've started using Lemur on iPad as an interface, in conjunction with the monome. There's a few bug-y issues I'm having, nothing of which i can easily articulate. But the Lemur manual says to make sure that no other applications are using ports 8000-8003.
Getting to the question, slowly but surely.
How does a port actually work? Am I right in assuming that a port is like an old phone number, in the sense that its only a two way connection?
How many ports are there?
And what happens if two things are sharing a port? Is there an easy test to do to see if a port is cross-connected?