udp

Why are my UDP multicast not reaching machines on the network?

I am trying to set up auto discovery using UDP multicasting, and am using some sample code from the internet. this seems to work ok when I run the client and the server on the same machine, but when I run them on different machines, either with a machine running in a VM on my machine (virtualBox) or on other 'real' machines on the netwo...

NSTimer or NSThread in iOs 4 background mode

I have to keep a NSThread or NSTimer when my iPhone application goes into background mode. Is it possible ? I have enabled the background modes in info.plist and opened readstream and writestream as follows ...(I am using UDP) CFReadStreamSetProperty(readStream, kCFStreamNetworkServiceType,kCFStreamNetworkServiceTypeVoIP); CFWrite...

Get destination IP-address of UDP packet

Hi. When using the C# UDPClient to receive data, how do I determine if the received datagram was a broadcast packet or not? I can determine the source IP-address by reading the endpoint from UdpClient.Receive(endpoint), but I can't figure out how to get the remote IP-address of the packet. Is there a way to do that? ...

Making UDP lose less messages in .NET/Mono

Hello, we are currently performing some benchmarks for an open source academic project, Logbus-ng. It basically implements Syslog protocol over UDP (RFC 5426) and TLS (RFC 5425). We know that the advantage of TLS is reliability (ie. we won't lose messages) but with the drawback of performance. We have a benchmarking client and also a sp...

iphone app - UDP

Is it possible for an iphone to send UDP messages through an IP on port 3330? Thanks! Elijah ...

Mac app UDP data over its own IP

Is it possible for an objective-c mac app to send UDP data to its own IP address? If so, can someone show me an example? code? Thanks! ...