I am trying to pass data to a java server through the socket adapter and the trace files shows data being sent, but the server is not receiving it. The map does connect on the server port but does not receive the data.
Trace file:
<2728-2976>: Host 127.0.0.1 port 3456 ... socket number 13040
<2728-2976>: Putting message ...
<2728-2976>: Message type:ISIZED
<2728-2976>: 18 bytes passed by the engine
<2728-2976>: 18 bytes send out of 18
<2728-2976>: Put, exit: Wed Jul 26 11:38:33 2006
<2728-2976>: Reading message from socket number 13040
<2728-2976>: Reading message from socket number 13040 (message type = sized)
<2728-2976>: 0 messages succesfully read from socket
<2728-2976>: Get, exit: Wed Jul 26 11:38:33 2006
<2728-2976>: Disconnect: Wed Jul 26 11:38:36 2006
<2728-2976>: reference number 1 for socket 13040
<2728-2976>: Disconnecting from 127.0.0.1 port 3456 ... socket number 13040
<2728-2976>: Disconnect, exit: Wed Jul 26 11:38:36 2006
Second, I send back a simple msg back, after connection is made and the map shows no data being received.
My command is:
=GET("SOCKET","-HOST 127.0.0.1 -PORT 3456 -CCON SHARED -T+ -ISIZED ",PACKAGE(out1) )
where out1 is the data from card 1 I am sending.
I am using Merc 6.7.1.
Any help would be appreciated.
Tom
Trace file:
<2728-2976>: Host 127.0.0.1 port 3456 ... socket number 13040
<2728-2976>: Putting message ...
<2728-2976>: Message type:ISIZED
<2728-2976>: 18 bytes passed by the engine
<2728-2976>: 18 bytes send out of 18
<2728-2976>: Put, exit: Wed Jul 26 11:38:33 2006
<2728-2976>: Reading message from socket number 13040
<2728-2976>: Reading message from socket number 13040 (message type = sized)
<2728-2976>: 0 messages succesfully read from socket
<2728-2976>: Get, exit: Wed Jul 26 11:38:33 2006
<2728-2976>: Disconnect: Wed Jul 26 11:38:36 2006
<2728-2976>: reference number 1 for socket 13040
<2728-2976>: Disconnecting from 127.0.0.1 port 3456 ... socket number 13040
<2728-2976>: Disconnect, exit: Wed Jul 26 11:38:36 2006
Second, I send back a simple msg back, after connection is made and the map shows no data being received.
My command is:
=GET("SOCKET","-HOST 127.0.0.1 -PORT 3456 -CCON SHARED -T+ -ISIZED ",PACKAGE(out1) )
where out1 is the data from card 1 I am sending.
I am using Merc 6.7.1.
Any help would be appreciated.
Tom