Skip to main content
Filter by
Sorted by
Tagged with
2 votes
3 answers
111 views

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 ...
vlz's user avatar
  • 21
2 votes
1 answer
59 views

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 ...
Thierry Lelegard's user avatar
0 votes
0 answers
91 views

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 ...
veer's user avatar
  • 1
1 vote
0 answers
71 views

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 ...
Sanjay's user avatar
  • 21
0 votes
0 answers
60 views

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 ...
Akshay Pagare's user avatar
2 votes
0 answers
71 views

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 ...
Adele's user avatar
  • 11
1 vote
1 answer
126 views

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 ...
Ch_Meier's user avatar
1 vote
0 answers
260 views

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 ...
Tim Woocker's user avatar
  • 2,046
3 votes
2 answers
125 views

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 ...
winter's user avatar
  • 67
0 votes
0 answers
73 views

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 ...
Dinesh's user avatar
  • 1,886
2 votes
2 answers
103 views

this is my first time asking a question so please pardon me if I have missed out on any info. I am quite new to using UDP and other socket communications on C# so i am quite stuck on this. I am trying ...
winter's user avatar
  • 67
-1 votes
1 answer
71 views

I'm building a high velocity distributed database in Rust, using io_uring, eBPF and the NVMe API, which means I cannot use 99% of the existing libraries/frameworks out there, but instead I need to ...
Mascarpone's user avatar
  • 2,578
0 votes
0 answers
102 views

I am learning UDP communication and I face a problem: The program crashed when I ran the code: void udpCommandComm::slot_udpRecvBroadcast() { char buffer[1024]; QByteArray data; // ...
1001101_Qi's user avatar
0 votes
0 answers
43 views

sendmsg supports passing in multiple data buffers via struct iovec. If sendmsg is used with a datagram socket (e.g. UDP), do the multiple data buffers get combined into one datagram, or does sendmsg ...
Myria's user avatar
  • 3,907
2 votes
1 answer
71 views

I'm trying to implement Pyhton to send and receive data. Before I started with the Python implementation I checked that what I wanted to do was working properly. A device connected to my computer via ...
ulix's user avatar
  • 121
1 vote
2 answers
206 views

Initial Problem I had what I thought was a simple task in Golang: format some data according to one of Wireshark's dissectors (MAC-LTE) and then send it over UDP so that it could be viewed in ...
ribs2spare's user avatar
1 vote
1 answer
133 views

I have a console app where I'm working through setting up a UDP listener using RIO. I started with simple polling to test the flow between a simple console client and the console app/server. I can ...
Mike's user avatar
  • 13
0 votes
0 answers
61 views

I have this gstremer pipeline which is started by Qprocess in Qt Application: gst-launch-1.0 rtspsrc location="rtsp://admin:[email protected]:554/sub" ! rtph264depay ! h264parse ! mpegtsmux ...
MAB's user avatar
  • 29
0 votes
0 answers
33 views

i want to send data via UDP raw sockets with Winsock. I already implemented that and it is working fine, however, at the moment, i'm using a hard-coded source IP, which is the local IP of my WiFi ...
Sonny86's user avatar
  • 21
0 votes
0 answers
108 views

I have a Python application which wants to receive UDP packets like this: with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as s: s.bind((ip, port)) s.settimeout(0.1) while self.shall_run:...
qznc's user avatar
  • 1,193
0 votes
0 answers
28 views

I'm trying to send and receive udp packets to a lte modem ( UDP is obligatory, no TCP) and its doing it just fine in some configuratiosn but not in others. When i send it every 1min it works fine for ...
Poupiloup Polpy's user avatar
1 vote
0 answers
81 views

I want to figure out how to read the "latest" data from a udp socket. As in my client reads data using SFML's udp socket but it reads old data. I read up that you should try flushing the ...
sea's user avatar
  • 77
-2 votes
1 answer
65 views

I'm writing a bit of code that can listen for UDP messages via Winsock. The port bind works on local loopback (127.0.0.1) but when I try to change to any other IP the bind fails. Is there something I'...
MaxA's user avatar
  • 13
0 votes
2 answers
76 views

I'm trying to write a script/program to monitor for network connections to an existing process so that I can issue SIGSTOP/SIGCONT, docker (un)pause, etc, whenever there are no active connections to ...
josephsmendoza's user avatar
0 votes
0 answers
29 views

I'm trying to debug a new issue that's cropped up in a new distro of our software. I've got a theory for what's going on, but I'd like to run it by people who know how UDP works. We have a custom ...
T.E.D.'s user avatar
  • 44.9k
0 votes
0 answers
28 views

I have tried to run code building an asynchronous UDP server. The code is taken directly from boost::asio documentation example, which I reproduce below: #include <array> #include <ctime> #...
Giogre's user avatar
  • 1,664
0 votes
1 answer
62 views

I have developed a C# program that receives UDP packets and writes the received data to a queue on thread A. The program reads from the queue, performs some data processing, and then sends another UDP ...
Jake's user avatar
  • 79
-1 votes
1 answer
137 views

I have zeek installed in centos 9 stream , i want to send the logs generated to a specified port via tcp or udp as i need this to send logs to a collector configured in a SIEM , is there a zeek script ...
amelia's user avatar
  • 37
2 votes
1 answer
88 views

When using Winsock with TCP connections (SOCK_STREAM, connection-oriented), calling WSAAsyncSelect puts the socket into non-blocking mode. A call to connect at that point will generally return with ...
Greg Kennedy's user avatar
0 votes
0 answers
133 views

I am using TwinCAT 3 to create a UDP communication between a pc and a light sensor that only uses UDP protocol to exchange data. I used this code : https://github.com/Beckhoff/TF6310_Samples/tree/...
Ayoub Nsibi's user avatar
0 votes
0 answers
37 views

An application running on the iPad is sending out a broadcast message once every 10 seconds on Port 6122. The goal is to read this message in my Laptop. I'm running the below C# program in my Laptop....
Anand's user avatar
  • 384
0 votes
0 answers
22 views

I am trying to use the pktgen to generate the test pkt to fullfill a task I am using the testing script from https://github.com/torvalds/linux/tree/master/samples/pktgen using the command like this ...
Sam Yang's user avatar
1 vote
0 answers
71 views

I’m trying to send and receive UDP packets to my server. As far as sending the packet is concerned, it’s no problem. But when I try to receive a packet nothing ever arrives. In the photo you can see ...
Dominik Kozusznik's user avatar
0 votes
0 answers
74 views

I have a Go UDP server that listens on a specific IP and port (100.99.152.25:53). The server receives DNS queries and responds with a hardcoded DNS response using WriteMsgUDP. However, when both of ...
Mohit Kumar's user avatar
0 votes
1 answer
169 views

I want to use gstreamer to package and stream h264 video frames. The udp method succeeds, but the tcp method does not work. What is my problem? This is a rtp client program. The following is the code ...
Linby's user avatar
  • 1
0 votes
1 answer
48 views

Until a couple of days ago I had some software that was broadcasting udp messages to a port, which a different machine on the local network was receiving. It seems like that process has stopped ...
Richard Whitehouse's user avatar
1 vote
1 answer
40 views

I tried implementing my own server and client classes in Java which only worked with my desktop as the server, laptop as the client and never with desktop as the client. This is why I tried using the ...
Max Ettwig's user avatar
0 votes
0 answers
20 views

Newbie into the UDP/network world 😇 I have a device where I can send a string to and it replies with a reply string. For example, I send "Discover" and it returns "Device name". I'...
Mear1628's user avatar
1 vote
1 answer
111 views

I finally resolved today why simple UDP client/server text communications to a server was producing an error. The server has 2 IPv4 addresses. I was sending to one of the IP addresses and ...
Ross's user avatar
  • 323
2 votes
1 answer
80 views

On Linux, I want to receive multicast traffic only from a specific interface. So I bind the interface and port to socket, then join the multicast group by setsockopt with IP_ADD_MEMBERSHIP option. ...
sfzhang's user avatar
  • 791
0 votes
0 answers
31 views

I'm trying to implement the MAVLink protocol in Java. After testing that I can read and write messages properly I would like to create a Connection class that handles the information process, however, ...
sushiwithoutsushi's user avatar
0 votes
0 answers
30 views

I have a c# udp socket I'm trying to send data from to my home. The server socket is hosted at aws, and the client is at my house. Using the UDPSocket.cs example on GitHub, I modified the code to ...
Mat Edor's user avatar
1 vote
0 answers
43 views

making a web rtc video call app, have got the basics set up but facing this specific problem joining the call with 2 different devices one laptop and one phone now I've joined with laptop as device 1, ...
tarun's user avatar
  • 21
0 votes
0 answers
101 views

The following forum post generally describes my same issue: https://forums.docker.com/t/docker-networking-question-udp-ports-being-re-written-on-outbound/64746 My Docker container runs a data ...
KrisK's user avatar
  • 1
1 vote
2 answers
445 views

I have been trying to set up a simple UDP handshake function on an ESP32 that broadcasts packets over my local network on a specific port, so a .NET application running on a PC (Win10) on the same ...
boyeVR's user avatar
  • 21
1 vote
1 answer
210 views

I am trying to connect to a BACnet foreign device using the BAC0 Python library. Below is my script: import BAC0 print(BAC0.version) bbmdIP = '10.x.y.z:47808' # Replace with actual IP bbmdTTL = 900 ...
Pramod Kumar G H's user avatar
1 vote
1 answer
167 views

I’m currently working on creating a UDP hole punching program in python. So far, I’ve managed to successfully retrieve my public IP address and public port using a STUN server with pystun3. I’m also ...
Ofer's user avatar
  • 13
0 votes
1 answer
149 views

I am trying to work with UDP and Golang. Because my horizons are microcontrollers, where Go packets (TinyGo) are not completely supported, I need to use as minimal amount of packets as possible. So, I ...
Abram's user avatar
  • 19
0 votes
1 answer
85 views

Im building an steering wheel to play F1 codemasters games. Those games have the option to send telemetry through UDP. https://answers.ea.com/t5/General-Discussion/F1-23-UDP-Specification/td-p/...
uchi's user avatar
  • 101
2 votes
1 answer
146 views

I have a bash script in my docker container that use netcat to receive a datagram from a raspberry with this command: msg_port=60001 nc -k -u -l -p $msg_port >> /data/hydro/info.txt & Now, ...
rollback's user avatar

1
2 3 4 5
214