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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 connectionless UDP multicast

Status
Not open for further replies.

tthoele

Programmer
Dec 1, 2004
2
US
Greetings!

I am working on an application where I need to send a large dataset to multiple clients on a streaming basis.

I am implimenting a TCP connection from each client to the server to register the clients, as well as for the client to send data to the server.

I would like to send out the dataset on a UDP port, and have all clients listen to the port (different from the TCP port).

I have found several commercial controls to do this, but I'm on a budget (none). Any ideas for a FREE implementation?

Thanks,
Troy
 
The standard Winsock control supports UDP. There is some sample code in VBHelp

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'

for steam enthusiasts
 
I'm having thermonuclear meltdown on this one...

I tried implimenting the winsock control using UDP, but it is implemented as a peer to peer. I cant figure out how to make it do multicast. the two values it asks for is remotehost and remote port.

Do you have a link to an example? When do I use the multicast address? Where do I put in the multicast group?

Troy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top