0E00000D: Error at socket-interface: Function=..., Return Code=...
An error occurred for an IP connection. The errors may be caused by the following functions:
gethostbyname
The name resolution of a symbolic IP address failed.
Check the spelling of the address for possible errors. Also consider to 'ping' the machine.
connect
A connection could not be established.
Check the address and port.
send
An error occurred during send. The sending and receiving normally happens alternately, hence the error message(s) must be viewed for both processing methods. Only the point in time when the error occurs is relevant for the function that causes the error.
receive
An error occurred during receive. The sending and receiving normally happens alternately, hence the error message(s) must be viewed for both processing methods. Only the point in time when the error occurs is relevant for the function that causes the error.
The following list describes the most common return codes based upon the operating system.
z/OS
The following return codes apply to z/OS and z/VSE.
32
The connection was reset by the partner.
48
The address is already in use. This code results due to the fact that a connection cannot be established immediately after a connection loss.
Wait some time until the operating system has freed the port. Alternatively it is possible to specify a range of ports that should be used to establish a connection for a process (more settings, TCP/IP settings).
57
The connection does not exist any more. It was cancelled.
z/VSE
The following return codes only apply to z/VSE and are supporting return codes.
4
The connection could not be established/found.
8
The connection was reset by the partner.
12
The connection does not react within the time frame (Timeout). This return code may point to a wrong routing table or a firewall.
Check the z/VSE console log for corresponding messages issued by the IP partition.
Windows
The following return codes only apply to the various WINDOWS operating systems.
48
The address is already in use. This error code is the result of the fact that it is not possible to establish a connection on the same port right after a connection cancel.
Wait some time until the operating system has freed the port. Alternatively it is possible to specify a range of ports that should be used to establish a connection for a process (more settings, TCP/IP settings).
53
The connection has been cancelled by a program.
54
The connection was reset by the partner.
60
The connection does not react within the time frame (Timeout). This return code may point to a wrong routing table or a firewall.
61
The connection cannot be established to the address/port.
Check the address and port.
UNIX
The following return codes apply to the various UNIX derivatives.
4
The function was cancelled by a signal. The error code does not point to a connection problem rather an outside event has occurred.
32
The connection was reset by the partner.
107
The connection does not exist any more.
111
The connection cannot be established to the address/port.
Check the address and port.
113
The connection partner cannot be reached. This can be a temporary problem.

If the cause for the problem cannot be determined the following should be done: Create a process trace (more settings/Diagnosis settings).