Novell Home

TID102161 (IUDPE001) - Broadcast on Multihomed NetWare Server

From Developer Community

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

iudpe001.exe26.5 K2005-04-06

--devsup

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.