BUG: Windows 95-Based Winsock App Can't Receive IPX BroadacastID: Q137914
|
A winsock application is unable to receive IPX broadcasts when running under Windows 95 even though it is able to receive UDP broadcasts.
To enable a winsock application to receive IPX broadcasts, use the
setsockopt() call with the SO_BROADCAST flag as in this example:
int sock, optval;
.
.
sock = socket(.....);
err = setsockopt( sock, SOL_SOCKET, SO_BROADCAST, (char*)&optval,
sizeof(optval));
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are reasearching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Note that there is no need to use this option for the case of UDP and specification for winsock 1.1 says that this is needed only for sending broadcasts.
Keywords : kbnetwork kbAPI kbSDKPlatform kbWinOS95bug kbWinsock kbGrpNet
Version :
Platform :
Issue type : kbbug
Last Reviewed: March 5, 1999