Port 8000

    Feb 05 2013 | 11:07 pm
    Hi All,
    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?
    Thanks :)

    • Feb 05 2013 | 11:39 pm
    • Feb 06 2013 | 2:12 am
      Those port no.s are mentioned in reference to the Lemur Editor that uses those ports to communicate whilst editing.
      If another app is bound to those ports (Max, monome, OSCulator etc) it creates problems . . .
      Lemur app can be setup to send to any port but is hardcoded to listen on port 8000
      Multiple apps can send to a port but only one app can bind to it .. .
      So if you want your Lemur to control the monome app send to 8000 with the monome app running . . .
      Send back to 8080 to control the monome or port 8000 to talk to the Lemur
      If you want to post to the Lemur Forum people there will also be able to help you . ..