Jump to content
Sign in to follow this  
Mark-

Multicast configuration...

Recommended Posts

Hello,

 

Never used multicast before and not having success.
I must send a request to a device at 192.168.1.51 port 1500 using UDP.
The device will begin multicasting data on address 224.0.0.0 port 1500.
I send the request and I see the device sending the data on Wireshark. I just do not get any OnDataAvaliable calls.

I set the TWSocket as:

multiSocket.Proto:='udp';
multiSocket.Addr:='192.168.8.169';		//nic to bind to
multiSocket.Port:=portNum;				//1500
multiSocket.MultiCast:=true;
multiSocket.MultiCastAddrStr:='224.0.0.0'; //this is the dst address I see in wireshark, 
										   //tried the sender ip address and got error IP_ADD_MEMBERSHIP ;
multiSocket.ReuseAddr:=true;
multiSocket.Listen;

No error, no data.

I can configure the multicast address on the device. Should the address be changed?
What am I doing wrong?

 

Thanks,

 

Mark

 

Edited by Mark-

Share this post


Link to post

Resolved.

W10 Firewall was allowing outgoing but not incoming.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×