|
From: Andy R. <an...@pl...> - 2001-09-06 19:43:18
|
Andy Ross wrote: > 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. It does. I found the following nifty site: http://www.sockets.com/winsock.htm#SendTo I hadn't realized it, but "winsock" is actually more or less a plain clone of the BSD sockets API. I guess I was expecting that it was gratuitously different, but it's actually quite sane. Can you tell that I'm not a windows guy? Andy -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA an...@ne... http://www.nextbus.com (510)420-3126 Why Wait? |