Re: Ports

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Quoted text here. Click to load it

That's the way it usually works.
The client connects from a unknown random port above 1024, to the specific
port (i.e. 5001).  the server then sends the data back the same channel from the
known port (5001) to the unknown port (1025).

You can change the client to always use a known port to start with if you want
using the bind() call, but usually the first way works fine.


Damion de Soto - Software Engineer  email:
We've slightly trimmed the long signature. Click to see the full one.
Re: Ports

I found this link telling with examples exactly what to do:



Quoted text here. Click to load it
from the
want by

Site Timeline