I've written a Broadcast-Programm which communicates over UDP. The Programm is written in C++ (with Borland C-Builder 5).
It runs perfectly under Windows 2000, but not under Win98SE. The Problem is, that it is not able to configure the Socket for Broadcast. I've tried it on 5 Machines, but the function setsockopt always failed.
my code:
broadcastPermission = 1;
setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &broadcastPermission, sizeof(broadcastPermission)
Does anybody know a solution ?
greetingS!
It runs perfectly under Windows 2000, but not under Win98SE. The Problem is, that it is not able to configure the Socket for Broadcast. I've tried it on 5 Machines, but the function setsockopt always failed.
my code:
broadcastPermission = 1;
setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &broadcastPermission, sizeof(broadcastPermission)
Does anybody know a solution ?
greetingS!