I have a existing application that consists of several proceses that cumunicate with each other using TCP/IP sockets. The application runs on HP-UX and was written in c.
I want to redevelop one of the processes in Java. The process must be able to read the c struct from the socket and write back return messages aswell.
the struct i sdefined as
#define EVENT_MESSAGE struct event_message_struct
I can connect to the socket
but using a DataInputstream and readline() results in carbage.