char to int

Hi,

I have a received a datagram storing address IP in a byte[].

how can I write it on readable format.

thanks

[135 byte] By [ballanianga] at [2007-11-27 11:00:48]
# 1

In Java, byte is a primitive type that holds values in the range of -128 to 127. If you receive a byte array then the data is already in readable format.

If you mean someting else, then providing more details and not expecting us to mind read would be appreciated.

floundera at 2007-7-29 12:32:03 > top of Java-index,Java Essentials,Java Programming...