Donald Since you appear to be writing the TCP client program, one way you can provide a "connection timeout" is to set up a non-blocking connect() call and then apply a "timeout" using the select() call.
Please note that the greater concentration of expertise in matters to do with the z/OS Communications Server IP component can be found here: For IBMTCP-L subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBMTCP-L Chris Mason On Thu, 23 Feb 2012 12:29:21 -0600, Donald Likens <[email protected]> wrote: >I have a TCP/IP Socket client that is talking to a windows (Java) TCP/IP >socket server. When I subdown the server I detect a problem and close down the >connection and attempt to connect again. When I attempt to connect it takes >about 3 minutes for the client to detect that the server is not going to >respond. Is there a way to reduce the time to wait for the connection? I would >prefer to not change the whole network but if this what is required so be it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

