Sometime on Sep 4, TW cobbled together some glyphs to say:
struct sendbuff {
int count;
char toprint[10000];
};
[snip]
while(1) //Beggining of While
{
while(bytesrcvd<sizeof(mybuff)) {
possible bug here. you're not taking into account word alignment. The
actual size of a struct in memory is not the same as the sum of its
elements. It may be larger to account for aligning variables on word
boundaries.
You need to have serialize and deserialize functions for your struct
that convert it into a byte stream and back.
--
# Okay, what on Earth is this one supposed to be used for?
2.4.0 linux/drivers/char/cp437.uni
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers