Posted: Wed Oct 03, 2012 10:31 pm Post subject: TCPIP CLIENT NODES
Disciple
Joined: 30 May 2011 Posts: 177
Hi all;
What is happening if the TCPIPClientReceive node doesn't receive the sent message returned from a host. There is a socket server located in a host. A message flow uses in the middle the tcpip client output node to make a request to host through it's server socket listener. the server shows that it sends the reply message back but the tcpip client receive node located just after the tcpip client output node doesn't make any sense. I've tried the server socket with a client stub java code from my PC and there is no problem with the server.
In addition i've reset the both tcpip nodes to a state that no stream reservation occurs and also the receive node is going to receive a fixed message length with either of 1 byte. After looking at the service trace , it shows that a time out is occured (60 s).
After all i've defined a configurable service to set the Nodelay param of the tcpip client to TRUE but nothing changed.
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
Please detail the settings you have defined on your TCPIP nodes (particularly the info on the Advanced and Records & Elements tab). Also what version of WMB are you using?
Whenever dealing with TCP stuff I always like to use a network proxy (or something like WireShark) so its easy to see exactly what data is going over the wire. This could be your next course of action.
Since i'm going to solve the receive problem, I've removed any constraints in accessing the streams. So in the advanced tab of the both :
Quote:
Close Connection : NO
Close output stream after record has been sent : UNCHECKED
Output stream modification : Leave Unchanged
Input stream modification : Leave Unchanged
In the records and elements of the TCPIP CLIENT OUTPUT node :
Quote:
Record definition : Record is Unmodified Data
So the others would be disabled .
In the records and elements of the TCPIP CLIENT RECEIVE node :
Quote:
Record definition : Fixed Length
Length(bytes)* : 1
The others would be disabled .
The server returns a message with 40 bytes in length but setting either 40 or 1 as the length , would have no effects.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum