Hi Andrew,

> Once a connection is made (an incoming connect request to an allowed
> port) accept(2) will grab another port so that the original port is
> free for further connect requests.

For the benefit of others, since I know you really know this already
:-), accept(2) creates another *socket* to handle the connection that's
been made, not another port, so further connection requests on the
existing socket can be accepted.  The port number is the same for both
sockets;  that's fine since the 5-tuple overall with be distinct between
the two.

Cheers,
Ralph.


--
Next meeting:  Blandford Forum, Wednesday 2011-03-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to