Score of 8
1 answer
413 views
How do I receive datagrams in batches using ASIO?
I have several data sources that send data to a multicast group. I think in this case it makes sense to receive datagrams not one at a time, but in batches—for example, 64 datagrams at a time. How can ...
- reputation score 115
Score of 0
0 answers
64 views
POSIX-like UDP socket replacements on top of DPDK
I am porting my app to modern DPDK and want to replace standard UDP socket sys calls without rewriting the networking logic from L2. As an environment I have mlx5 with SR-IOV. I saw UDPDK, which fits ...
- reputation score 125
Score of 0
1 answer
107 views
udp listener is "batching" on macos
Here's my code in my listener function. while (!stoppingToken.IsCancellationRequested) { try { if (_udpClient == null) { // Explicit binding to match DDPHelper ...
- reputation score 2204
Score of 2
1 answer
163 views
Delphi Indy UDP broadcast failing
I'm using Delphi 12.3 w/ Indy on a machine with multiple network adapters. I have industrial devices connected to the various adapters. The devices look for a UDP query packet on port 11864 with a ...
- reputation score 447
Score of 2
3 answers
140 views
sendto behaviour with IP address set to 0
I stumbled across this yesterday. Consider the following program, which uses sendto() to send an UDP message to a network address (inside a struct sockaddr_in) that is not set (with the full struct ...
- reputation score 21
Score of 2
1 answer
79 views
Incorrect report of SO_TIMESTAMP on macOS UDP socket with recvmsg()
I use the socket option SO_TIMESTAMP to get kernel timestamps on received UDP datagrams with recvmsg(). It works well on Linux, not on macOS. In practice, it seems that macOS does return the timestamp ...
- reputation score 897
Score of 1
0 answers
85 views
Can't send data through UDP via Wi-Fi, Returning 0 Bytes sent
I want to send data to esp32 via WiFi using UDP, but it'S returning 0 bytes (as 0 bytes sent) For Esp32 I tried with another device (different mobile app), and it's working fine.(Esp32 is OK) Here is ...
- reputation score 21
Score of 2
0 answers
111 views
high rate udp data plotting in pyqt5
I am trying to develop a gui to receive data over udp with rate of 72Mbit/s. I am using the pyqtgraph to plot the data of 10 channels. but after receiving some packets, the widow freezes and it seems ...
- reputation score 11
Score of 1
0 answers
302 views
UdpSocket drops packets with low read_timeout
I'm using Rust's std UdpSocket to send data from one socket to another one locally. It all works fine if I set no read timeout or if I set a "big" read timeout like 10ms. Once I set the ...
- reputation score 2066
Score of 3
2 answers
171 views
Does UDP receive messages in a queue-like format?
I have two programs set up to mimic two machines that will be communicating using UDP (I know TCP sounds better in this situation, but the manufacturer for one of the machines made it such that ...
- reputation score 75