Do not use on any
shared computer
August 29, 2008 09:08pm pdt
 
[x]
Attachment Details

Java and C int bit size conversion?

Tags: java, int, size, bit, c
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?

Please let me know

Jojo
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: rsajoo
Question Asked On: 11.01.2007
Participating Experts: 2
Points: 250
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by Kdo

Rank: Sage

Expert Comment by Kdo:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by peetm
Expert Comment by peetm:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Administrative Comment by PaulCaswell

Rank: Guru

Administrative Comment by PaulCaswell:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628