Udp Questions
Ad
can not send simple UDP packet written in c
I am a current uni student learning about socket programming and my first task was to create a simple client server model where the client sends a
Best practice of sending data of different sizes over the network
I want to send data in varying sizes over udp. the size of data to be sent is not fixed. i have the following scenario: unsigned
How to get your own (local) IP-Address from an udp-socket (C/C++)
you have multiple network adapters. bind a udp socket to an local port, without specifying an address. receive packets on
Best practice to unidirectionally send data from an application to another
Let me explain my situation: i have a (c++) module that gathers data from an application 1 at a rate of 10 times per second. i
Android 9.0 creating a socket out on main thread cause android.os.NetworkOnMainThreadException
I encountered this error often lately... and it's something that started to happen only on android 9.0. this method just create
java.net.BindException: bind failed: EACCES (Permission denied) when trying to create DatagramSocket for UDP connection
I'm trying to send udp packets to a remote host in android studio. but this error showed up: java.net.bindexception: bind failed:
Cant read UDP network stream in h264 from opencv4nodejs
I'm trying to get a video stream from a djy drone 'tello' with nodejs. the udp server is working because i can manually get the stream and show it
OSError: [Errno 22] invalid argument socket python socket
I have some app that use udp socket. each app can to send and receive date. in an app that recevie data, code is below: receiver app:
Fixed port for sending messages with dgram
I'm using node dgram to send osc messages to a device. the device sends its responses to the port where the request came from (i can't change
Send UDP to local server, but not via loopback interface
I'm ultimately trying to test a udp client, and want to make sure that it works when sending data not through the loopback interface, to
Ad
how to get 100 accelerometer values per sec in flutter
I am new to flutter ,i am writing an app which stream values of accelerometer from my mobile to pc using udp it is working but i am getting
Purported UDP "connection"
My understanding was that udp doesn't form connections; it just blindly sends packets. however, when i run nc -u -l 10002
Default location for data packets sent over UDP to SQL Express
I have created an android application that has two input fields and a verify button. i want to send information to a sql express server that is on
How to subscribe to broadcast address in node.js (255.255.255.255)
I cannot listen to messages being broadcast on 255.255.255.255. the
How to listen to different UDP ports on the same address within the same process in Node.js
I'm writing a node.js app to control a small drone. here are the instructions from the sdk: use wi-fi to establish a connection
Udp socket in Flutter does not receive anything
I'm trying to use a udp socket as server in flutter. i'd like to bind this socket on my localhost at 6868 port always in listening. unfortunately
How to send a UDP packet via dgram in Nodejs?
I tried various versions of nodejs' datagram socket module's send function: var dgram = require('dgram'); var client =
Communication between REST and UDP server
I have a rest server to handle communication between my database server and android/ios devices, the rest server is also able to send push
UDP Connection failed - Error "No route to host" since the new iOS Update 14.5.1
I have an app where usually all devices are shown at the start page , that are connected to a specific wifi (access point). since the new ios
Node.js - Can't bind a udp6 socket to a specific address
From node, this list of addresses available: var os = require('os'); os.networkinterfaces() prints:
Receiving frame from udp is too slow for face recognition
I want to receive frames from udp port and run face recognition algorithms on them with opencv cv::dnn framework. tello drone is
Ad
C UDP socket connection isn't assigning the ports right way
I have the following schema: program in terminal a (<process 1>): stored: <process 1>: <portnumber 51340>
How can I clear UDP buffer without recvfrom?
I have an embedded linux project. and it gets data via udp to static char array from udp buffer. this static array's size is 20000 bytes. i want
Is there any C socket function, which can look for datagrams from a specific UDP client?
The server i am building uses the udp transport layer protocol. i have a scenario where multiple clients can send datagrams to my server. but each
poll() POLLIN events on udp socket in C
I am trying to implement an udp-uart bridge with poll. the programm works fine, but i think the pollin events are triggered when i receive
How to implement reliable UDP to transfer files quickly?
I want to transfer some files from one point to another. files are sensitive so transfer has to be reliable, but if i use tcp to transfer files
Unable to use a structure to store and later on print udp data usin recvfrom
I'm trying to use the following struct to put my received data in: typedef struct packet { uint8_t magic; uint8_t version;
How to set timeout in UDP socket with C/C++ in WINDOWS?
I've been trying to set a timeout in my datagramsocket implementation class in c/c++ for windows but i can't, i tried
UDP communication is not working. Using the WinSock2 library
I wrote two simple programs, both using udp. one of them sends packets of data and the other receives them. i ran both of these programs
Number of RTP packets in a single UDP datagram
I am working on implementing rtp on an embedded mcu (stm32f4) and i'm having trouble with efficiently streaming audio data (8 khz, u-law encoded).
When sending datagram packets, the data of the packet is duplicated. (java)
Udpclient: public static void main(string[] args) { // todo auto-generated method stub datagramsocket socket;
NodeJs Server flooded with UDP Broadcasts, doesn't send response
I am building a system using an esp8266/nodemcu module (similar to an arduino, just with networking capabilities) and a nodejs server running on
Ad
UDP socket still bound to previous port – how to reuse it?
I have an audio streaming application that uses boost udp sockets bound to port 50050. i currently have a problem when the application is shut
Client Server Program behind router
I am trying to run client server udp program . my both machines are in different networks. i have set up port forwarding in my router. my
Failing to receive broadcast udp packets in python
I'm trying to receive udp broadcast packets sent from fpga connected via a lan cable. the fpga sends continuous packets to port 5001. my
Converting from String to Long after sending a message using UDP unicast
I am sending a message using udp unicast, first of all i have a long variable that i convert to a string and then y serialize:
UDP hole-punch explanation
I'm trying to understand udp hole punching and i just don't quite get it. in concept it seems simple but when i put it into practice i can't pull
How does connect()'ing a bind()'ed socket in a forked process affect the socket in the parent?
I am implementing a reliable, connection-oriented application over udp (uni assignment). it is required that the server, after it receives an
Send number via netcat
I want to send a single number via netcat. i don't want to send the ascii representation of the number, but the binary version of the number
UDP client across NAT could not receive data from server
I'm trying to have a two way communication using udp between a server (on public ip) and a client(across a nat). my logic says that if server
I am trying to generate a random hexadecimal number in python and send it over UDP
Here is my python code: import socket data = bytes.fromhex("47 a2 62 19 20 00 00 00 00") s =
What is the best way to do Bit Field manipulation in Python?
I'm reading some mpeg transport stream protocol over udp and it has some funky bitfields in it (length 13 for example). i'm using the "struct"
Gstreamer source code doesnt work
I have the following pipelines that one of them sends voice signals on udp port and the other receives them on the same port number on the
Ad
Java on Linux: Listening to broadcast messages on a bound local address
I have a somewhat weird requirement to be able to listen to a number of network interfaces from java on a linux machine and determine if one of
UDP Server listening to broadcast
Given that: the server is on windows xp running activestate perl the server is connected to an internal network and an external
Listening to a UDP broadcast with threads
I'm broadcasting a simple message to ..*.255 (changing to 255 the last part of my ip) and i'm trying to listen to it. the code returns no
Can we make a UDP call to REST service
I have a rest endpoint and i want to access it using udp for example java datagram. i know its not a best practice to try even but my recent
Why python raises exception on udp recvfrom
I have realy simple python27 script on windows10 it is just sends messages and waits for reply using udp socket import
Ad
Blog Categories
Ad