I am writing a small UDP server in Java.
When the server receives a command ('GET_VIDEO'), he reads a file ('video.raw') and then sends it to the client. My problem is ...
here is the code i send the string:
byte buffer = txtAreaSendText.getText().getBytes();// Point A
DatagramPacket dp = new DatagramPacket(buffer,buffer.length,remoteAddr, remoteTextPort);
byte buffer = new byte;
DatagramPacket dp ...