Hi! I want to have a client which connects with a server written in Java. In details :
I want to send a string like : <request>command</request> and I want to receive the response which is of the type : <response>answer</response>
I know that the Java server uses the function readline to read from the socket and the function writeline to write there.
In my implementation i use a CSocket, a CSocketFile and two CArchive. The function connect succeeds and I can see that and in the log file of the Java server.
BUT : archive_out << strRequest; doesn't do anything!!
can anybody plzzz help me with that? I haven't written ever before implementation in order to connect my VC++ client with a server created with JAVA and I don't know if there is anything special with it.
I want to send a string like : <request>command</request> and I want to receive the response which is of the type : <response>answer</response>
I know that the Java server uses the function readline to read from the socket and the function writeline to write there.
In my implementation i use a CSocket, a CSocketFile and two CArchive. The function connect succeeds and I can see that and in the log file of the Java server.
BUT : archive_out << strRequest; doesn't do anything!!
can anybody plzzz help me with that? I haven't written ever before implementation in order to connect my VC++ client with a server created with JAVA and I don't know if there is anything special with it.