Hi, have this question: I can easily communicate between two java sides using sockets, buffers and write() and readLine() functions. But now i have java server and agreement with the other side about how will TCP packet payload look like (4 bytes of length of data, 1 byte function number, 0-100 bytes of actual data). I have byte variable and my question is... are sockets still usable? I.e. will be my out buffer packed into one TCP packet data payload when I use sockets? The other side is not java based and only listen for TCP packets. If i can't use sockets, can you point me the right direction?