Sending pre-defined messages in Java.

Joined
Aug 13, 2008
Messages
1
Reaction score
0
Hi All,
I have a requirment to send pre-defined messges to a server written in C over TCP/IP. The pre-defined messages are as C structs and There is a restriction over the structs that it has to be pragma pack(2) compitable. I would like to use Java to write the client . Is it a good choice ? how i can ensure that the datastream sent to server is pragma pack(2) compaitable ?
Any pointer on this will be of great help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top