10,681 questions
-1
votes
1
answer
85
views
Can't send UDP packets to co developer [closed]
I'm working on a peer-to-peer messaging system. Me and my co developer are testing sending messages to each other while using the same WiFi router. The system works when sending messages to localhost ...
Tooling
0
votes
0
replies
32
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
78
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
135
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
111
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
124
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
65
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
96
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
78
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
63
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
87
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
160
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
273
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
135
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 ...
0
votes
0
answers
95
views
Use netcat to capture UDP4 snmpget request
I want to capture snmpget message in my Ubuntu machine using netcat
I ran the following commands in the order shown below.
I am using netcat-openbsd.
nc -lu 127.0.0.1 1161
pip install snmpclitools
...