Which Port?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Justin

    #1

    Which Port?

    Hello.

    When writing socket programs which comunicate with eachother over IP,
    how do you choose which port they should use?

    Cheers,

    Justin.
  • franky

    #2
    Which Port?

    Use dynamic port binding let the system find a free port
    for u.
    That way you'll never get in the way off other programs
    that want to use a fixed port
    write a simple rpc interface to let each program ask the
    other what his current port number is.[color=blue]
    >-----Original Message-----
    >Hello.
    >
    >When writing socket programs which comunicate with[/color]
    eachother over IP,[color=blue]
    >how do you choose which port they should use?
    >
    >Cheers,
    >
    >Justin.
    >.
    >[/color]

    Comment

    Working...