Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Broadcast under Windows 98

Status
Not open for further replies.

flosko

Programmer
Oct 19, 2001
1
AT
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!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top