Author |
Message
|
viswanath |
Posted: Tue Jan 20, 2009 3:33 am Post subject: TCP IP issue |
|
|
Apprentice
Joined: 09 Jun 2005 Posts: 33
|
Hi All,
We have a requirement that we have to send a request onto the same port and receive the response on to the same port.
could you please let us know what exactly the properties to be on TCPIP input node and TCPIP output node.
Thanks
Viswanath |
|
Back to top |
|
 |
dgolding |
Posted: Tue Jan 20, 2009 5:01 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
With sender-receiver channels this will not be possible - these channels are uni-directional - they send, or receive - not both.
A client connection would probably do the trick - they are bi-directional. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jan 20, 2009 5:13 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I think he's asking about WMB TCPIP nodes in version 6.1
First of all - why aren't you using WMQ communications in the usual way?
What is at the other end? |
|
Back to top |
|
 |
viswanath |
Posted: Tue Jan 20, 2009 5:36 am Post subject: |
|
|
Apprentice
Joined: 09 Jun 2005 Posts: 33
|
We have two flows. One has TCPIPServerInputNode. This flow processes data and calls another flow which has TCPIPServerOutputNode. The client program is a java program sending data through a socket to the first flow and waiting for a response.
However, we found that as soon as we close the outputstream of the socket at the client end, the server closes the socket connection. We want to keep it alive. We have already done the settings as specified in the Infocenter article at the following url:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac67440_.htm |
|
Back to top |
|
 |
zpat |
Posted: Tue Jan 20, 2009 6:04 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I would suggest using MQ communications - this works very well for synchronous request/reply messages (non-persistent).
From reading the info centre, it describes a single flow - you say that you call another flow - how exactly? |
|
Back to top |
|
 |
viswanath |
Posted: Tue Jan 20, 2009 6:38 am Post subject: |
|
|
Apprentice
Joined: 09 Jun 2005 Posts: 33
|
Requirement is to take from TCPIP and send thru TCPIP. |
|
Back to top |
|
 |
|