Sierra 5391-02 User Manual

Page 47

Advertising
background image

T12017-Sentry_LANServer_Users_Manual

Page 47 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

WSAEAFNOSUPPORT

10047

Address family
not

supported

by

protocol

family

An address incompatible with the
requested protocol was used. All
sockets are created with an
associated "address family" (i.e.
AF_INET for Internet Protocols)
and a generic protocol type (i.e.
SOCK_STREAM). This error will
be returned if an incorrect protocol
is explicitly requested in the socket
call, or if an address of the wrong
family is used for a socket, e.g. in
sendto.

WSAEALREADY

10037

Operation
already

in

progress

An operation was attempted on a
non-blocking socket that already
had an operation in progress - i.e.
calling connect a second time on a
non-blocking socket that is already
connecting,

or

canceling

an

asynchronous

request

(WSAAsyncGetXbyY)

that

has

already

been

canceled

or

completed

WSAECONNABORTED

10053

Software
caused
connection
abort

An established connection was
aborted by the software in the host
machine, possibly due to a data
transmission timeout or protocol
error.

WSAECONNREFUSED

10061

Connection
refused

No connection could be made
because

the

target

machine

actively refused it. This usually
results from trying to connect to a
service that is inactive on the
foreign host - i.e. one with no
server application running.

WSAECONNRESET

10054

Connection
reset by peer

An 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.) This error may also result
if a connection was broken due to
"keep-alive" activity detecting a
failure

while

one

or

more

operations

are

in

progress.

Operations that were in progress
fail

with

WSAENETRESET.

Subsequent operations fail with
WSAECONNRESET.

Advertising
This manual is related to the following products: