udp

What does LAN/traffic congestion mean?

While talking about UDP I saw/heard congestion come up a few times. What does that mean? ...

Send UDP broadcast (255.255.255.255) from specific adapter (e.g. 192.168.101.1) only; on Windows

Solution for Windows XP or higher. Preferably in C# or else in C++. We do not want to broadcast using a subnet directed broadcast (e.g. 192.168.101.255) since the device we are trying to contact is not responding to this. Instead, we want to be able to send UDP datagram with a destination of 255.255.255.255 from a specific NIC/IPAddress...

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 network A computer on the internal network is broadcasting in udp to 10.4.255.255 on port 9722 I need to: listen to the broadcast and pass the messages to a function This is the code I am using: my $sock; d...

UDP protocol support in common web browser

Entering "udp://host:666" in the location bar doesn't work very well. Is there any work-around for sending a single "empty" datagram to a host using an ordinary web browser? The response is no issue since the use case I'm think about is port knocking ("http://host:666" doesn't work well since browsers tend to repeat the request if there...

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 them receives UDP packets of a certain type. The output data which I need is the IP address of the interface in question. Is there any way to do this in Java? Listening on the wildcard address ...

udp client not reachable from another application

I am trying to achieve a client server application in Java using UDP. The issue is when client connects to a server, server registers the client and another application tries to use the clientIP and clientPort to connect to the client; client is not able to get any data. I was able to recreate DatagramSocket to connect to Client using h...

UDP connection test on BlackBerry Simulator

Hi, I am trying to send data using UDP (datagram). I am not able to test application on simulator. I tried running MDS first and then simulator,but it did not work. The error is displayed as Port 8080 already in use on BlackBerry simulator console. How do I change port in simulator? The UDP port to which I am connecting is localhost:501...

MSMQ works on TCP or UDP?

hi. i want to know that MSMQ (Microsoft Messaging Queue) works on TCP or UDP?? and on what ports? ...

UDP client not reachable in Java

Hi I am running a simple UDP Java Server, which collects IP and Port of Client when connected, store information in Database. Client is still listening to server. Server stops. Later, server want to reuse the database information, to reach the client; and as the client is still listening to same port of server, I guess client shoul...

234.x.x.x IP address - what is it

I've done a fair bit of UDP socket programming in the past, but have only ever heard of the usual reserved IPs: 127.0.0.1 192.168.x.x 10.x.x.x But from an IP2Location it says multicast. Is 234.5.5.1 an actual IP address or reserved? ...

What host to use when making a UDP socket in python?

I want ro receive some data that is sent as a UDP packet over VPN. So wrote (mostly copied) this program in python: import socket import sys HOST = ??????? PORT = 80 # SOCK_DGRAM is the socket type to use for UDP sockets sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.bind((HOST,PORT)) data,addr = sock.recv(1024) print...

Problems with Asynchronous UDP Sockets

Hi, I'm struggling a bit with socket programming (something I'm not at all familiar with) and I can't find anything which helps from google or MSDN (awful). Apologies for the length of this. Basically I have an existing service which recieves and responds to requests over UDP. I can't change this at all. I also have a client within my ...

Receiving UDP broadcasts on multihomed systems

I have a Windows XP machine with more than one network adapter. When I receive a UDP broadcast package from another machine that does not yet have a valid IP address, howcan I determine which network adapter received this package? I need to implement a kind on custom DHCP server... ...

UDP client and server

Hi I want to use UDP client which using Microphone to record the voice and send wave file direct to UDP server. If anyone has java code plz help me. Thank you. ...

send real time voice using udp

hi every body could you please help me . I write java code for sending string msg between client and server using udp socket . but I want to to send real time voice so could you please give some notes to do it ...

"Correct" way to send a sequence of UDP datagrams?

I was under the impression that the instability of UDP is a property of the physical layer, but seems that it isn't: I am trying to send a message over UDP, which is divided into a sequence of packets. Message identification and re-ordering is done implicitly. I tested this method over two apps that run on the same computer, and expect...

UDP Lock up?

Hey guys i need people to guess the solution :(. I am using UDP sockets and what i am doing is sending player input which is about 8, 4 or whatever bytes. I am using recvfrom and sendto. It works for minutes then randomly it will lock up. This could however be because of my app logic but i want to know if anyone have experience with thi...

How to find the largest UDP packet I can send without fragmenting?

I need to know what the largest UDP packet I can send to another computer is without fragmentation. This size is commonly known as the MTU (Maximum Transmission Unit). Supposedly, between 2 computers, will be many routers and modems that may have different MTUs. I read that the TCP implementation in windows automatically finds the max...

Is it possible to connect iPhones through NAT traversal techniques over 3G for peer 2 peer gaming

Is it possible to connect an iPhone to another iPhone or any other network client talking that game's protocol. I was thinking that I could use the same NAT Traversal technique used in the XBox 360 to host games on users XBox's through Firewalls. For NAT traversal to work effectively I'd have to have a central server that would allow c...

Best Game network programming articles and books

What are good resources for the latest in Game network programming. I'm looking for something that's not the traditional business software network programming, talking about RPC and clients making calls to the server. I'm looking for techniques and articles on the latest in Game simulation network programming. I'm looking for techniques...