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:

Rg: c++, java communication

Posted by Sriram on February 14, 2001 at 4:58 AM

The problem is not with byte conversion. Since you are using DataOutputStream In java it send data to socket only in the form of int. Check Your Server Side Code Where you are tracing the integer received from client. Because it is in c++ you need to do conversion there.



Replies:

Sponsored Links



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