Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Java > Re: Question on...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 37 of 81
Post > Topic >>

Re: Question on C/C++ and Java TCP/IP

by Juergen_Sievers <Juergen_Sievers@[EMAIL PROTECTED] > Apr 11, 2004 at 12:07 AM

Wonderer emitted:

> Hi there!
> 
> we all know that you can send structs between C programs easily with
> TCP/IP, but if u let a C server send a struct to a JAVA client, how will
> the client be able to process the struct?
> 
>                                             Thz

Why it is easily to exchange structs (memory images) between C programms
over TCP/IP?

This is only true on the same host and the same alignment and type
representation and !! no pointers a member of the struct. 
At all other cases it coud be very difficult to interchange complex types
(structs). It is better to use RPC on C, may be extended to CORBA on C++.

Regards J.
 

-- 
Alle in diesem Text gemachte Rechtschreibfehler sind geistiges Eigentum
des
Autors. Wer diese Rechtschreibfehler nachmacht oder verfälscht, kann mit
Spam nicht unter 1 Megabyte bedacht werden.
 




 9 Posts in Topic:
Question on C/C++ and Java TCP/IP
"Wonderer" <  2004-04-10 12:14:37 
Re: Question on C/C++ and Java TCP/IP
Christophe Vanfleteren &l  2004-04-10 12:24:15 
Re: Question on C/C++ and Java TCP/IP
Roedy Green <look-at-t  2004-04-10 18:08:34 
Re: Question on C/C++ and Java TCP/IP
Chris Smith <cdsmith@[  2004-04-10 13:15:38 
Re: Question on C/C++ and Java TCP/IP
Mark Thornton <mark.p.  2004-04-10 20:57:52 
Re: Question on C/C++ and Java TCP/IP
"Liz" <Liz@[  2004-04-10 22:22:12 
Re: Question on C/C++ and Java TCP/IP
"Liz" <Liz@[  2004-04-10 22:26:02 
Re: Question on C/C++ and Java TCP/IP
Raghar <notfor@[EMAIL   2004-04-10 21:59:37 
Re: Question on C/C++ and Java TCP/IP
Juergen_Sievers <Juerg  2004-04-11 00:07:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 5:59:50 CDT 2008.