Kbase 17378: tcpip errors in errno.h
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
tcpip errors in errno.h
When Progress error (796) Error writing msg, socket=<n> errno=<n>
usernum=<n> disconnected, returns errno=108, if you grep 108 in
/usr/include/sys/errno.h you will not find a match. This may be the
result of errors being grouped together under one symbol.
This is true in the case of SCO UNIX where
#define _TCPERR 90 /* Same as TCPERR above */
and
#define ECONNRESET (_TCPERR+18) /* Connection reset by peer */
Therefore errno=108 is actually ECONNRESET. On a Sun platform,
#define ECONNRESET 54 /* Connection reset by peer */
And of course, on SCO UNIX, errno=54 (as suggested in Progress error
796), is
#define EBADRQC 54 /* Bad request code */
which has nothing to do with tcp :) This is why it is important to
use the /usr/include/sys/errno.h file on the system where the error
is being reported.
Progress Software Technical Support Note # 17378