Fail Error 7

Message

7. Network error

Comment

The additional error code is a network-specific error code, if it is less than 256 or over 280 or a DP4 network error code (listed in NETWORK.H) otherwise. Windows uses error codes above 10000 for TCP/IP errors. From version 4.620, where appropriate the network error code will be reported as an operating system error, rather than as an additional error. This allows the operating system message associated with socket related errors to be displayed, though this is only supported on Windows 2000 or later. (Other versions of Windows will display a blank or corrupt message).

Your strategy for recovering from this type of error should be to use the correct level of resilience unless you are using the named server configuration and manage your own connections.

You can attempt to carry on after this error, but will need to establish a new connection by closing the old connection and reinitialising.

Common additional error codes are:

CodeMeaning
256The requester believes the DP4 server is not running
259The application program is trying to access a server without initialising properly. This error commonly arises if a program that has encountered a network error and has been logged off as a result attempts to continue to use its "dead" connection.
264The network requester believes a reply from a server is invalid.
268The network requester and server or AUXDISTR are from incomptible releases of DP4.
10053Winsock - Connection aborted
10054Winsock - Connection reset
10060Winsock - Connection time-out
10061Winsock - Connection refused
10064Winsock - Host down
10065Winsock - Host unreachable

Other Errors in the 10000 range are documented in the Windows header file winsock.h. On Windows 2000 and Windows XP you can run FAIL 7 100nn to display the text associated with Winsock errors.
Unix socket errors will usually be found in the header file /usr/include/sys/errno.h

If you are using NetBIOS programs (NTBW and NTBMGR for example), the additional error code is a NetBIOS return code.