[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Not a bug report but a question regarding broadcasting
From: |
Julian Gardner [RSD] |
Subject: |
[lwip-users] Not a bug report but a question regarding broadcasting |
Date: |
Wed, 6 Feb 2008 12:00:27 -0000 |
Right i have my box working and broadcasting on my network using DHCP and Multicast UDP
So box is transmitting a mpeg2 stream, box address is 192.168.1.51.
The mpeg stream a seen on Wireshark is 224.10.0.7 src port 1111 dst port 1234
Now i can see this if i vlc it on 224.10.0.7:1234
but if i try and change the broadcast address to 192.168.1.49 (my dhcp starts at 50) i see nothing on the network.
What i am trying to do is use my router to allow an outside connection to NAT from port 7777 to this stream
Do i need to add anything else apart from changing the address for the broadcast
Sorry for thisjoolz
code to setup port
outUdp = udp_new();
outAddr.addr = htonl( e2Prom.channelSettings.ipAddress); // 192.168.1.49
udp_bind( outUdp, IP_ADDR_ANY, e2Prom.ethernetSettings.port); // 1111
udp_connect( outUdp, &outAddr, e2Prom.channelSettings.port); // 1234
outUdp->flags |= UDP_FLAGS_NOCHKSUM;
outUdp->ttl = 0x38;
- [lwip-users] Not a bug report but a question regarding broadcasting,
Julian Gardner [RSD] <=