Question: How do you send and receive broadcast messages on each interface on a multihomed NetWare server?
Answer: The solution is to bind() a socket using INADDR_ANY, for listening purposes. Call IPGetIFInfo() to get the IP address and subnet mask for each interface. Then call bind() to bind a socket to each interface using the IP address. Use these sockets to send reply packets
| iudpe001.exe | 26.5 K | 2005-04-06 |
--devsup
© 2008 Novell, Inc. All Rights Reserved.