|
From: Andy R. <an...@pl...> - 2001-09-06 19:14:13
|
John Wojnaroski wrote: > Alex writes: > > In the short term, try just repeating the native-out parameter and > > use point-to-point UDP links for every client until you have > > everything else working. Less efficient for the server, but > > probably not enough to care. > > Not sure I follow ... would you restart fgfs each time with a new > "out" address for each client (in this case three). The socket 5500 > binds to the IP address when the socket in instantiated, you would > have to create additional socket/port bindings inside fgfs to do this > simultaneously. No, not with UDP. UDP sockets can be in an "unconnected" mode where they can send packets to any IP/port combination. Take a look at the sendto(2) system call for the Unix implementation; it takes a struct sockaddr parameter for each packet sent. I presume windows has a functional equivalent. Andy -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA an...@ne... http://www.nextbus.com (510)420-3126 Why Wait? |