Curtis L. Olson writes: > > I'd like to have a process that does a udp broadcast of key flightgear > data. I'd then like to have more than one process on the same machine > reading the broadcast packets. > > Assuming server == the recieving side, and client == sending side. > > I will have one client sending, and I want multiple server's > receiving. > > However, I can only open one receiving server on my machine. > Subsequent processes fail to open the socket returning "Address > already in use". > > Is there a magic flag I need to set, or am I just out of luck?
Use the 'medusa' trick to multiplex the socket see the PLIB Net library for a C++ implemetation of Medusa http://www.nightmare.com/medusa/medusa.html Or you could use co-routines to multiplex http://www.nightmare.com/~rushing/copython/index.html as link to 'C' implementaton Sorry I don't know of any Perl implementations but I am sure they must exist Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
