udp

Using java to send/receive different objects through UDP

Hello everyone, I am writing a program in Java where there are communications between two or more machines using UDP. My application sends objects after serializing them through the network to the other machine where it will be deserialized and dealt with it. I was successful in sending one kind of objects so far. My problem is that I ...

Compiling Enet in iphone xcode project

Hello, I am trying to compile the Enet source code into my code framework for iPhone games. After modifying the header files I get it compiling and linking, but I absolutely must be compiling with the "Compile Source As" set to "Objective-C++" in my xcode project (because the framework code requires this). When I flip this switch in my...

Overview of Game Engines for FPSs and MMOs?

I am looking for an overview and experience with "Online Game Engines" for First Person Shooters (FPS) and Massive Multiplayer Online (MMO) Games. The Online Games Engines should support mixing UDP and reliable UDP. Base Frameworks: Lidgren (http://code.google.com/p/lidgren-network-gen3/) eNet (http://enet.bespin.org/) what else ? O...

Udp server sending only 0 bytes of data

Hi all, This is a simple Udp server.I am trying to transmit data to some clients,but unfortunetly it is unable to transmit data.Though send is running quite successfully but it is returning with a return value meaning it has send nothing.On the client they are receiving but again obviously,zero bytes. void* UdpServerStreamToClients(v...

Simple Reliable UDP C++ Libraries

Hello, I am in need of a reliable UDP library. The one I wrote does not work too well and I would like to see what a 3rd party can do in the same circumstances. Enet will not work because of some "interesting" compile issues in xcode (I have another question on stack overflow about that). Any suggestions for a portable, reliable UDP l...

How to migrate existing udp application to raw sockets

Hello Is there a tutorial for migration from plain udp sockets (linux, C99/C++, recv syscall is used) to the raw sockets? According to http://aschauf.landshut.org/fh/linux/udp_vs_raw/ch03s04.html raw socket is much faster than udp. Application is client-server. client is proprietary and must use exactly same procotol as it was with u...

UDP Broadcast in Java

Morning. I'm pretty new in Java and socket connections but I'm trying to send out a UDP packet/broadcast on 255.255.255.255 on port 8001 to a device. I can get the data to send just fine, however when it comes time to receive the data the connection times out. I have a packet sniffer and I can see the packet send and then the device r...

A smart UDP protocol analyzer?

Is there a "smart" UDP protocol analyzer that can help me reverse engineer a message based protocol? I'm using Wireshark to do the sniffing, but if there's a tool that can detect regularities in the protocol (repeated strings, bits of the protocol that are CRC/Checksum or length, ...) and aid the process that would help. ...

UDP traffic effect on network performance

well, i have network that each proxy (lets assume we have 200 proxies), send UDP packages every constant amount of time. (let assume 10 seconds) to constant amount of hosts (lets assume 10) my question is how will 6 * 10 seconds * 200 proxies * 10 target hosts = 120,000 UDP roundtrip communication per minute will affect my network, in te...

how to bind/connect multiple UDP socket

My initial UDP socket is binded to 127.0.0.1:9898. The first time that I get notified of incoming data by epoll/kqueue, I do recvfrom() and I fill a struct sockaddr called peer_name that contain the peer informations (ip:port). Then I create a new UPD socket using socket(), then I bind() this newly created socket to the same ip:port (...

Options for securing UDP Traffic

I'm looking for options for securing UDP traffic (mainly real-time video) on a wireless network (802.11). Any suggestions apart from Datagram Transport Layer Security (DTLS)? Thanks. ...

Last in First out UDP structure in MatLab.

I am using MatLabs UDP function in their instrument control toolbox to send data packets from one computer to another. The first computer is constantly updating data values and sending them to the other computer, and I want that computer to be able to query the first one for the most recent values whenever it needs them. However, the...

UDP Broadcast stress

I am writing an application that relies on UDP Broadcasting. Does anyone know what kind of stress this puts on your network? I would like to have multiple clients on the same network broadcasting frequently. Any information on this would be helpful Thanks ...

Receiving Multicast Messages on a Multihomed Windows PC

I'm developing a diagnostic tool on a PC with several Network Interfaces based on multicast/udp. The user can select a NIC, the application creates sockets, binds them to this NIC and adds them to the specific multicast group. The sending of multicast messages works fine. However receiving of messages only succeeds if I bind the sockets...

Does Moonlight support UDP sockets?

Seems that Silverlight 4.0 supports UDP. Any version of Moonlight that supports UDP? ...

Android Broadcast Address

Hey, I am making a Client Server application for my Android phone. I have created a UDP Server in Python which sits and listens for connections. I can put either the server IP address in directly like 192.169.0.100 and it sends data fine. I can also put in 192.168.0.255 and it find the server on 192.169.0.100. Is it possible to get ...

How can I cast UDP streams in Perl?

My Perl script gets a UDP response that is built out of 2 integers + float numbers. The problem is that the UDP stream is one long stream of bytes. How do I cast the stream into parameters using Perl? ...

Memory increases with Java UDP Server

I have a simple UDP server that creates a new thread for processing incoming data. While testing it by sending about 100 packets/second I notice that it's memory usage continues to increase. Is there any leak evident from my code below? Here is the code for the server. public class UDPServer { public static void main(String[] args)...

caching data packets.

Not sure if this is the right place to ask, but here goes.... I implemented a UDP client/server using normal sockets in linux. (Assuming there is nothing on the network side between these 2 hosts that interferes with the packet in any way, but just pass it on as is) Does the kernel do any kind of caching/optimization of these UDP pack...

multiple UDP ports

Hi, I have situation where I have to handle multiple live UDP streams in the server. I have two options (as I think) Single Socket : 1) Listen at single port on the server and receive the data from all clients on the same port and create threads for each client to process the data till the client stop sending. Here only one port is us...