Board index » delphi » Cannot find meaning of a logged errorno

Cannot find meaning of a logged errorno

I just looked at my server's log today and noticed the following line is
showing up very often.

INET/inet_error: read errno = 10054

I cannot seem to find what errno 10054 is.  I looked in the pdf books to no
avail... can anyone help me?

Thanx in Advance,
Terry Fehr

 

Re:Cannot find meaning of a logged errorno


Quote
Terry Fehr wrote:
> I just looked at my server's log today and noticed the following line is
> showing up very often.

> INET/inet_error: read errno = 10054

> I cannot seem to find what errno 10054 is.  I looked in the pdf books to no
> avail... can anyone help me?

        It's a TCP/IP error from the OS which IB is reporting.  If you search the
Borland Community site you'll find documents about it.  The most common
cause is bad network hardware or cables.  If it's not killing the
connection or affecting performance I wouldn't worry about it too much.
  If it is killing the connection I'd start swapping cables and NICs
until you find the issue.

        HTH,

        -Craig

--
  Craig Stuntz (TeamB) Vertex Systems Corp. Columbus, OH
      Delphi/InterBase WebLog: http://delphi.weblogs.com
      InterBase PLANalyzer (Free IB optimization tool):
           http://delphi.weblogs.com/IBPLANalyzer

Re:Cannot find meaning of a logged errorno


Therry,

here the description for the error-number from the Win32 Developers
Reference :

The following is a list of possible error codes returned by the
WSAGetLastError call, along with their extended explanations. Errors are
listed in alphabetical order by error macro. Some error codes defined in
WINSOCK2.H are not returned from any function - these have not been listed
here.

WSAECONNRESET  (10054)

Connection reset by peer.

A existing connection was forcibly closed by the remote host. This normally
results if the peer application on the remote host is suddenly stopped, the
host is rebooted, or the remote host used a "hard close" (see setsockopt for
more information on the SO_LINGER option on the remote socket.)

HTH Achim

Other Threads