|
Hi,
Running FG under cygwin allows the socket output to
be set to the broadcast address, 192.xxx.xxx.255. But under linux Fg returns an
error
that make_client_socket failed for the broadcast
address. Looks like cygwin is faking it.
there are socket options with the system call
of 'int setsockopt(int sockfd, int level, int optname, char *val, int len)
to permit the sending of
broadcast msgs. Broadcasting is only allowed for
datagram sockets and only on networks that support broadcst msgs. Since the
linux kernel
does not provide a capability to simulate
braodcast, the cygwin system must be doing something to mimic the
broadcast.
From the source in sg_socket, it looks like the
plib netSocket::connect is making the system call to connect.
IMHO a broadcast capability for a flight sim is a
gotta-have. Has anyone approached then plib folks (Steve Baker et al) on this
subject?
Regards
John W.
|
- Re: [Flightgear-devel] Sockets John Wojnaroski
- Re: [Flightgear-devel] Sockets Alex Perry
- Re: [Flightgear-devel] Sockets John Wojnaroski
- Re: [Flightgear-devel] Sockets Alex Perry
- [Flightgear-devel] Sockets Jon Berndt
