Multiple binds on same port



Hello,

I have a UDP server that has clients connecting to it simultaneously -
the server listens to a port x and then forks children to service
requests off of various other ports (child will connect back from port
y to port z on the client machine, same port z the connection came in
from). When the child is done, it dies. The server (parent) binds to
port x and just polls for things to interpret as connections.

A requirement has been added that all the children should connect back
to the client port z from the same port x that the server is selecting
on. Since the server has done the bind() on the port, the child
clearly cannot. Another requirement added was that in addition to the
above, the server needs to be able to serve multiple clients at the
same time. Does this all sound reasonable? I can get involved in
complicated communication between parent and children to decide who
can get to bind the port at what time but it all sounds too
complicated. Am I missing something? Any input is appreciated.

Thanks!
Ognen
.



Relevant Pages

  • RE: Printing from Win9x clients stops
    ... > and make sure this software does not interfere with SBS Server. ... > clients, please disable it and try again. ... Create a local printer and redirect the port to the network server. ...
    (microsoft.public.windows.server.sbs)
  • Re: Apache webserver outage - need help with forensics
    ... Bob Brennan wrote: ... > I have a server which went completely unresponsive today on port 80 ... How many clients is your server configured to handle simultaneously? ... clients communications stuck and no new client connections could be accepted. ...
    (Fedora)
  • [Full-disclosure] Major ISPs arbitrarily blocking IRC and hijacking DNS entries
    ... My name is Anthony Sanchez and I have run a small irc network, ... connecting users to ".remove" in the event that the connection was a bot. ... apparently using some form of port restriction as ... Server: ns1.dc.cox.net ...
    (Full-Disclosure)
  • Re: Rmote Access problem
    ... port to your SBS Server. ... When I open the router to forward to the server what name do I give the ... Access is remote remote Web Workplace, ... Connecting from a separate location through the internet. ...
    (microsoft.public.windows.server.sbs)
  • RE: Some technical errors
    ... If the SMTP server is not running on port 25 TCP it is not a public ... Manager - Computer Assurance Services BDO Chartered Accountants & ...
    (Security-Basics)