Re: vb6.0 udp multicast problem
- From: "Jim Mack" <jmack@xxxxxxxxxxxxxxx>
- Date: Tue, 7 Oct 2008 21:34:19 -0400
emp1953 wrote:
I have a UNIX machine broadcasting and receiving messages via UDP
multicast.
I have configured a vb6.0 app with a winsock control configured
haphazardly. I say haphazardly because there are no winsock udp
multicast examples in any Microsoft documentation or any where else
for that matter.
I can send messages to the Unix machine, it receives them and parses
them perfectly. Messages coming back are not received by the vb6.0
app.
Can you show the code you use to configure the winsock control, and
any static setup of the properties? I use winsock with UDP for
broadcast in a mixed Windows / Irix environment. As far as I know, you
should be able to do this using broadcast to a multicast IP range
(assuming you're on the same network segment).
What does netstat -nr show for the multicast range? (224.xxx etc). IOW
are you sure there's a route from multicast to your host, on the
Windows side?
Also, depending on the age of the OS and the stack, you may need to
call setsockopt() to allow broadcast over UDP. Anything newer than
Win2K SP1 should be OK.
--
Jim
.
- Follow-Ups:
- Re: vb6.0 udp multicast problem
- From: emp1953
- Re: vb6.0 udp multicast problem
- References:
- vb6.0 udp multicast problem
- From: emp1953
- vb6.0 udp multicast problem
- Prev by Date: Re: Function horribly slow
- Next by Date: Re: How to load resorces of a form that is not loaded
- Previous by thread: vb6.0 udp multicast problem
- Next by thread: Re: vb6.0 udp multicast problem
- Index(es):
Relevant Pages
|