I have this code:
byte bEnviar[] = "jose" .getBytes();
byte ip[] = { 200,0,0,1 };
InetAddress address = InetAddress.getByAddress(ip);
The problem is that it gives me an error of
Possible loss when converting from int to byte []
And the example I'm seeing to make my socket has it that way
What step should I take to use it in Bytes mode?