04-29-2015 02:18 AM
i want to read data packets continously...
04-29-2015 02:24 AM
I have multiple IP series in 192.220.1.xx format in the local network and all are sending in brodcast fashion with same remote port, but i want to read only from 192.220.1.22 in udp, how to read all the packets continously .....??? without missing packets...
04-29-2015 04:47 AM - edited 04-29-2015 04:51 AM
Use. TCP/IP.
As you've been told UDP is not going to guarantee you get all packets continuously.
Also, did you say earlier you wanted 100 megabit per second? With other things on the network? What kind of network do you have, 100 Mbps or 1 Gbps?
100 Mbps on a 100 Mbps network is impossible. On a 1 Gbps network is theoretically possible, but that is still a pretty heavy load for a single communication source.
04-29-2015 10:02 AM - edited 04-29-2015 10:07 AM
So all these other devices are using broadcasts to saturate the network and you are trying to pick out messages from a certain source?
Broadcasts require UDP, they cannot go over TCP of course. Do you have control overt the remote systems or is their functionality fixed? What is the actual message rate?
Do you have some details?
All packets will arrive at your machine, that's the nature of broadcasts. Of course once a UDP transmission arrives, you immediately know the source IP and you can discard it if the source does not match. Are you listeing using "UDP multicast open" or plain "UDP open"?
What should happen to the accepted transmissions? Any further processing (stream to disk, parse out a single value, etc.)?
Alternatively, you could define firewall rules that only allow certain remote systems.
04-30-2015 04:19 AM
hii i have 100mbps network, and i am going to receive 156 bytes each time.....presently i want to receive data using IP address without using Port Id in UDP(if port should be there means i want to receive only data which i entered IP address only)...
04-30-2015 04:28 AM
Hiii how to i know source IP once UDp transmission arrives....???????? I am using plain UDP open. The device which is coming from Data is functionally fixed...with network device rate is 100 mbps, im going to receive only 156 bytes.
04-30-2015 08:04 AM
Look at the help for the UDP Read function. It tells you the IP address of the originating device.