I am creating a network application in whcih I plan to create the client in Java and the server is already implemented in C. However, my concern is how to deal with datatype bit conversations (ex. integers are 32 bit in java and may be different in C). So when I send data from the client to the server, I want to account for these differences... Is there a way to convert the bit sizes of datatypes in java and C?