Questions tagged [udp]
User Datagram Protocol is one of the messaging protocols of the IP protocol stack. With UDP, computer applications can send messages to other hosts on an Internet Protocol (IP) network without requiring prior communications to set up special transmission channels or data paths.
38 questions
3
votes
1
answer
90
views
UDP and TCP sockets in the browser
I'm using a Web extension to communicate with an Isolated Web App over externally_connectable for the capability to use Direct Sockets UDP and TCP sockets from ...
7
votes
3
answers
1k
views
Rotary Encoder Controller C++
I built a controller with 3 rotary encoders to control various parameters of a program i wrote to control a motor. The controller delivers data via usb through serial (Arduino).
Originally I used OSC ...
2
votes
1
answer
209
views
ESP32-12: Sample analog audio and send it via udp
I want to sample audio as a learning process.
In the future i want to make my dorbell "smart" and stream the audio via VoIP. But as beginning i want to sample a simple audio signal from my ...
8
votes
3
answers
735
views
Send arbitrary number of arbitrary length buffers in packets of fixed arbitrary size
Background:
I am in earlier stages of implementing a standard on top of an existing 'backend'
This standard requires that I send data in UDP packets of a size specified at runtime
All packets must be ...
2
votes
1
answer
270
views
to capture packets with options like -i interface, -o open file, etc using pyshark and python
review my code if possible. I am making network packet capture using pyshark and python. if possible give me some feedback about the code and help to make it better.
...
1
vote
1
answer
304
views
NTP client displaying reference, originate, receive and transmit timestamps periodically with graceful shutdown in C#
based on this stackoverflow topic: https://stackoverflow.com/a/12150289/15270760 I have decided to create a simple NTP client displaying difference between NTP server response and DateTime.Now called ...
2
votes
1
answer
383
views
UDP image livestream from Android device to C# desktop application
After searching a lot, on how to do it and not finding any good solutions, I implemented my own UDP livestream from an Android device to a C#/WPF desktop application. It works, however, since I get ...
1
vote
1
answer
353
views
Java UDP port knocking authentication. Many clients at the same time
This is a student project of mine. I got 4/5 points but I suspect there's a lot of weird stuff in there. I never had a chance to hear my teacher's feedback about it and it bothers me so I figured ...
2
votes
0
answers
64
views
How to define UDP connection sessions more correctly?
Listening to messages from the udp socket, I would like to somehow determine where packets come from and scatter in sessions to get a more detailed report on the received data, I just did it forehead, ...
5
votes
2
answers
293
views
Network IP packet tracker
this is my code for watching IP packets. I am doing project for my self because I want to learn how this things works.
This is my IP Packet class:
...
2
votes
1
answer
820
views
Simple UDP server (java)
I write kind of UDP server. It should serves about 50 messages per second.
I would like a review about the general code 'quality' and logic. The server uses the same socket for sending and receiving ...
4
votes
0
answers
606
views
Python UDP server to relay CSV or JSON data to cloud for analysis
What am I doing?
UDP/TCP server in Python (2.7 / 3.7)
How am I doing?
Using threads
Where am I going to execute it?
In a virtual machine running linux in AWS or Google Cloud or Azure ()
What ...
7
votes
1
answer
5k
views
Non-blocking TCP and UDP in Unity3D Game Engine
I would like constructive criticism of a networking plugin I've written for Unity 3D. The use-case of the code is for people in "creative coding," where simple TCP and UDP messages are used for ...
6
votes
2
answers
2k
views
UDP Reverse Shell
I'm currently learning python / network programming altogether and I coded this simple python reverse shell; I would like to hear any remarks from you regarding code structure, any common beginner ...
2
votes
1
answer
2k
views
A send and receive UDP node in C
I am working on a (personal) light weight distributed project for the Rpi platform. Making it distributed requires P2P communication between the nodes, and I thought it would be a good time to learn ...