10,670 questions
-1
votes
0
answers
66
views
Getting a `java.net.BindException` when calling `java.net.DatagramSocket.connect(java.net.SocketAddress)` [closed]
I just saw the following exception in one of our CI tests, and it's very strange to me:
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.connect0(Native Method)...
-2
votes
0
answers
35
views
Replace running code with execvp for daemon binary auto-update
I have a long-running (UDP daemon) application whose binary might require sometimes updates, with the application's data structures remaining in place. The binary is self-contained and the only other ...
Tooling
0
votes
0
replies
43
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 ...
0
votes
1
answer
97
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 ...
2
votes
1
answer
141
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 ...
1
vote
1
answer
138
views
Reliable way of getting data continuously from UDP connection in iOS Swift
I am trying to create a listener from a drone to my device and receive the data from the from the drone over the UDP connection. The problem is when I start listening to the port where the drone is ...
2
votes
3
answers
125
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 ...
2
votes
1
answer
68
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 ...
0
votes
0
answers
98
views
BSD UDP: When do socket descriptors become invalid due to OS intervention?
I'm working with Linux UDP sockets and need to identify scenarios where socket descriptors become invalid due to OS intervention rather than application errors, i.e. where the application can get ...
1
vote
0
answers
81
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 ...
0
votes
0
answers
66
views
Node.js WebRTC server on Azure App Service fails STUN discovery (srflx candidates) despite open NSG ports
I am building a Node.js WebRTC media bridge (a Back-to-Back User Agent or B2BUA) that connects a browser-based client to the WhatsApp Calling API. The backend is hosted on an Azure App Service for ...
2
votes
0
answers
95
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 ...
1
vote
1
answer
182
views
UDP multicast stream suddenly stops for 1-30 secs and automatically starts again
I am trying to receive an UDP multicast data stream with an UdpClient (C# on .NET 8). The messages are binary encoded messages, size approx. 90 bytes each, approx. 50-60 messages per second.
Receiving ...
1
vote
0
answers
279
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 ...
3
votes
2
answers
145
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 ...