beautypg.com

Sierra 5391-02 User Manual

Page 48

background image

T12017-Sentry_LANServer_Users_Manual

Page 48 of 59

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com

Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: [email protected]

Macro

Code

Message

Description

WSAEDESTADDRREQ

10039

Destination
address
required

A required address was omitted
from an operation on a socket. For
example, this error will be returned
if sendto is called with the remote
address of ADDR_ANY.

WSAEFAULT

10014

Bad address

The system detected an invalid
pointer address in attempting to
use a pointer argument of a call.
This error occurs if an application
passes an invalid pointer value, or
if the length of the buffer is too
small. For instance, if the length of
an argument which is a struct
sockaddr

is

smaller

than

sizeof(struct sockaddr).

WSAEHOSTDOWN

10064

Host is down

A socket operation failed because
the destination host was down. A
socket operation encountered a
dead host. Networking activity on
the local host has not been
initiated. These conditions are
more likely to be indicated by the
error WSAETIMEDOUT.

WSAEHOSTUNREACH

10065

No route to host

A socket operation was attempted
to an unreachable host. See
WSAENETUNREACH

WSAEINPROGRESS

10036

Operation now
in progress

A blocking operation is currently
executing. Windows Sockets only
allows a single blocking operation
to be outstanding per task (or
thread), and if any other function
call is made (whether or not it
references that or any other
socket) the function fails with the
WSAEINPROGRESS error.

WSAEINTR

10004

Interrupted
function call

A

blocking

operation

was

interrupted

by

a

call

to

WSACancelBlockingCall.

WSAEINVAL

10022

Invalid
argument

Some

invalid

argument

was

supplied (for example, specifying
an invalid level to the setsockopt
function). In some instances, it also
refers to the current state of the
socket - for instance, calling
accept on a socket that is not
listening.

This manual is related to the following products: