D
drew78
Hi all!
I am kind of new to the Java socket programming and used to handle things
the "c/c++-way"...
If I want to construct a message containing a number of bytes, shorts and
longs and perhaps a fiew strings, how do I combine these into a packet the
best way?
I C/C++ I would construct a struct/class and then just fill in the values
and then just send the mem-area, but that approach is not likley to happen
in java...
Can any one give me some hints and save me a few hours of hacking?
Sincerly,
Drew
I am kind of new to the Java socket programming and used to handle things
the "c/c++-way"...
If I want to construct a message containing a number of bytes, shorts and
longs and perhaps a fiew strings, how do I combine these into a packet the
best way?
I C/C++ I would construct a struct/class and then just fill in the values
and then just send the mem-area, but that approach is not likley to happen
in java...
Can any one give me some hints and save me a few hours of hacking?
Sincerly,
Drew