Hi

I am trying to send a String and an Int number over a UDP socket in a byte array using a DatagramPacket to a server program from a client program. On the server end I need to split the byte array up and change the value of the Int number and then resend the String and Int back to the client. How can I send an Int number and a String in the same byte array, and then separate them at the server end?

Many Thanks

Sam