The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

socket communication Java-C++

Posted by Aaron Stack on February 13, 2001 at 10:37 AM

Hello,
somebody knows how to correctly send an int to a C++ server from a Java client via socket?
I'm using DataOutputStream, but the problem is the different way in which Microsoft reads bytes representation; that is, in my application, 000000c instead of c000000 !!
Thanks in advance,



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us