Click to See Complete Forum and Search --> : reading class data from socket


Bob Kraft
March 8th, 1999, 10:21 PM
I am new to Java. I've been programming VC++ for a couple of years.

I have a VC++ app that will send data in the form of a struct to a java app.

I am not sure how to access this data with the stream from my Java socket.

I designed a class in my Java app that is the same as the struct in the VC++

app. i.e.:

public class myData implements Serializable

{

int m_nC_ID;

int over;

int under;

};

I would like to bring the data right into this object.

thanx in advance,


bob