Skip to main content

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.

udp
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 ...
duxingmengshou's user avatar
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 ...
Changkun's user avatar
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 ...
sonusi's user avatar
  • 1
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' ...
Marco Carandente's user avatar
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, ...
Im Here's user avatar
  • 11
-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 ...
quickset's user avatar
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 ...
cma0014's user avatar
  • 1,547
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&...
Joe's user avatar
  • 1,033
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 ...
RazielDraganam's user avatar
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, ...
K.Jno's user avatar
  • 1
-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; ...
pwflamy's user avatar
  • 87
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 ...
Jon Lachmann's user avatar
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]...
Abolfazl Diyanat's user avatar
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<...
Matthew Brown's user avatar
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 ...
Shubham Kumar's user avatar

15 30 50 per page
1
2 3 4 5
715