I have a basic ruby program, that listens on a port (53), receives the data and then sends to another location (Google DNS server - 8.8.8.8). The responses are not going back to their original destina
I am using a Java application to send UDP packets to an Android device. There I have another Java application that receives these UDP packets and di开发者_运维知识库splays its data - very simple.
I\'m implementing a network server that processes udp packets. I want toavoid replay attacks, where an attacker could copy udp packets, and replay them later in time. I way toying with idea that i cou
I\'m trying to get a simple send and receive UDP program working, but I\'m having a bit of trouble with saving the received data. As far as I can tell the data is being sent and received properly, as
So here is my program for receiving UTD messages. I am planning to use it to receive 640*480 YUV images over wifi. How big buffer should I set? Is it possible to set buffer after receiving first image
I m writing a server using udp socket. After a client send first message to connect, i open new socket to communicate with this client on this socket (first sockets for listening) and create a thread
I am writing an application and I don\'t understand a point. I am trying to receive data from a specific client. In a TCP socket, accept returns to you an fd number, so you can communicate over this f
If I am using raw sockets to send a UDP packet of size 3000bytes, do 开发者_如何学编程I need to handle packet fragmentation myself in the code, or should the raw socket handle fragmentation similar to
Clo开发者_运维百科sed. This question needs to be more focused. It is not currently accepting answers.
i am 开发者_如何学运维trying to write udp chat server in c language. i have written tcp chat server before and it is ok.