I have trouble getting InputStream for the Socket that recieves a " C structure " from the Server[ written in C].
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   shashi_shekar
Posted On:   Thursday, April 5, 2001 11:29 PM

Am trying to access a 'C' structure through Sockets. Server is written in C and client is written in java. When the client tries to getInputStream() for Socket it throws an Exception : InputStreamCorrupted :"The InputStream does not contain Serialized (object)information".

Question : Is the InputStream expecting the structure to be serialized before it is recieved at the client side ?

Error at this line of Code:
ObjectInputStream ois = new ObjectInputStream(clientSocket.getInputStream());

About | Sitemap | Contact