View previous topic :: View next topic
|
Author |
Message |
John L. McConnell
New User
Joined: 10 Dec 2010 Posts: 11 Location: Orlando, FL
|
|
|
|
The REXX SOCKET interface provides SOCKET functions to facilitate TCP/IP communication in a REXX program. I have successfully issued the following SOCKET function calls: INITIALIZE, SOCKET, SETSOCKOPT, and GETHOSTBYNAME. But when I call BIND or CONNECT using the IP address returned by the GETHOSTBYNAME call, the BIND or CONNECT times out. A ping to the IP address, however, is successful. What tools are there for diagnosing such a timeout? I looked in the JES log of the TCPIP STC and found no further diagnostic information. Many thanks in advance for any help I receive. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Not my area but - Is the port you are using available for your connection?
I recommend asking the people who provide network support for the system. They should know which diagnostic tools are avalable. |
|
Back to top |
|
|
John L. McConnell
New User
Joined: 10 Dec 2010 Posts: 11 Location: Orlando, FL
|
|
|
|
It was not a REXX issue. It was a network issue. The mainframe on which I'm working is a test LPAR, and there turns out to be a firewall around it. Once the firewall was updated to allow my user ID to get through, all the SOCKET functions worked perfectly. Many thanks to all who helped. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it has been resolved - thanks for letting us know
d |
|
Back to top |
|
|
|