Hi, I'm trying to write a proxy in Java (for educational purposes and personal use) and I was having some problems sending C5 48 69 12 B3 D5 C2 8A to the client, it would simply close every time I write to the socket using
What is the correct way to write packets to the socket? Any links or advice would be much appreciated.
Code:
sendC=soc.getOutputStream(); sendC.write(byte1);