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.
10,721
questions
0
votes
0
answers
16
views
Confused about python twisted UDP buffer size
I want to use UDP to transmit video streams (pictures). I use twisted, but I encounter a problem. If the sender's packets are larger each time, my server will not receive any messages. I have tested ...
0
votes
0
answers
12
views
Why does the UDP multicast receiver need to bind to the port which the sender sendto?
I created a multicast sender and receiver, where the sender sends messages to 239.255.0.1:54321. It works well.
The receiver's steps are as follows:
Create a socket
Bind to 239.255.0.1:54321
Join the ...
0
votes
0
answers
37
views
GStreamer pipeline writing UDP stream frames to JPEG images, but some frames have scattered pixels
I have written a C++ code using a GStreamer pipeline that takes a UDP stream as input and writes the frames into JPEG images. However, some of the output images have scattered pixels and are also ...
0
votes
0
answers
37
views
How to make Gstreamer RTSP -> UDP -> RTSP low latency pipeline?
I need to forward an rtsp stream from an axis camera through an udp port.
I have this pipeline on the send side:
gst-launch-1.0 rtspsrc location='rtsp://XXXX:[email protected]/axis-media/media.amp' ...
1
vote
0
answers
31
views
Is there any possible way to send Udp requests faster in SharpPcap (.NET 8)?
I'm unable to achieve a delay between requests of less than 50 microseconds (10 microseconds is required). No optimizations, such as running on multiple warmed-up threads, seem to help (apparently, ...
-1
votes
0
answers
32
views
Modifying UDP payload on the fly with scapy
My network has 2 interfaces
eth1 ethernet 192.168.1.1
eth2 wifi 10.42.0.1
Linux Ubuntu
I'm getting ~20 udp packets to the port 10000 each 1 sec with the eth1 interface and it sends to my wifi hotspot ...
0
votes
1
answer
70
views
C++ Best Practices: Serialization and Abstract Classes without library access
Preface: Serialization libraries cannot be used due to restrictions in the development environment, and the latest version usable is C++ 11.
I have various struct that need to be serialized and ...
0
votes
0
answers
11
views
How to determine source of UDP queue resource buffer
Seeing the following error with the code below. How to determine what queue resource this is? This doesn't appear on smaller data messsages. Google has no hits for "nw_channel_get_output_frames&...
0
votes
0
answers
70
views
C# UDP client and server, I don't understand using async and communication between two scripts
I never tried UDP before. The synchronous version works, but I need it async.
The client should connect the factory, send like a passphrase, server compares that, too. After that the server should ...
0
votes
1
answer
16
views
UDP P2P NAT Traversal: Why Does A->B Succeed but B->A Fail
I conducted a UDP hole punching test under the following conditions:
There are two devices, A and B. A is behind NAT_A, and B is behind NAT_B. After both sides obtain each other's public IP and port, ...
-1
votes
0
answers
34
views
The proper way to use UdpClient from reactor.netty.udp in spring boot app
Let's assume this is a simple Spring Boot WebFlux application.
Controller:
@RestController
@RequestMapping("/endpoint")
public class SomeController {
private final SomeService service;
...
0
votes
1
answer
31
views
Boost asio, timer inside async_receive_from wont trigger
I am trying to write a small UDP proxy using Boost asio. Within it I need to read a socket, and if that socket receives a datagram, a callback should be triggered after a specific time, forwarding the ...
0
votes
0
answers
13
views
Find the above layer of UDP when we have FP (Frame Protocol) in pcap file
I have a pcap file with the below layers
User Datagram Protocol, Src Port: 5321, Dst Port: 1038
Source Port: 5211
Destination Port: 2038
Length: 44
Checksum: 0x0000 [zero-value ignored]...
0
votes
0
answers
43
views
Sending buffer, and reference to buffer, down channel
I'm working on decoding UDP packets and matching them to pending transactions using a correlation id (invoke_id in the snippet below).
let incoming_packet_handler = tokio::spawn({
// clone Arc<...
1
vote
0
answers
39
views
How to parse NS section of DNS query?
So I am following this guide DNS Resolver in C to mimic DNS query in C , by following it I am able to fetch A records successfully
But when I change the query type to 2 , that is NS record query , I ...