104
model 3000 Ethernet Module / DS Connection Module Operation Manual
Appendix F Return Code List
F
Communication
Procedure
Return
Value
Description
• ACCEPT
ENOBUFS
-15
Resource short
EBADF
-16
Socket identifier not valid
EWOULDBLOCK
-18
Socket set in asynchronous I/O mode, no socket waiting for
connection
EOPNOTSUPP
-56
Specified socket not SOCK_STREAM type
EPROTO
-71
Protocol error
• BIND
EBADF
-16
Socket identifier not valid
EFAULT
-17
Parameter (addr or addrlen) not in valid user address
space
EAFNOSUPPORT
-58
Specified address family not supported
EADDRINUSE
-59
Given address already used
EADDRNOTAVAIL
-60
Given address unusable in the system
• CLOSE
EBADF
-16
Socket identifier not valid
• CONNECT
EHOSTUNREACH
-11
Connecting destination IP address incorrect
ETIMEDOUT
-12
Timeout. Connection not established after waiting for
specified time
EBADF
-16
Socket identifier not valid
EINVAL
-22
Already bound
EDESTADDRREQ
-50
Parameters (name, namelen) incorrect
EAFNOSUPPORT
-58
Specified address family not supported
EADDRNOTAVAIL
-60
Given address unusable in the system
EISCONN
-67
Socket connected already
• LISTEN
EBADF
-16
Socket identifier not valid
EINVAL
-22
Parameter incorrect
EOPNOTSUPP
-56
Socket not type to support listen
• RECV
• RECVFROM
ETIMEDOUT
-12
Timeout
ECONNABORTED
-14
Disconnected in local system
EBADF
-16
Socket identifier not valid
EFAULT
-17
Parameter (buffer pointer) incorrect
EWOULDBLOCK
-18
No data to receive
EPIPE
-32
Disconnected
EOPNOTSUPP
-56
Specified operation not supported by that socket
• SELECT
EBADF
-16
One of the socket identifiers specified by bit mask is
incorrect.
Содержание 3000 series
Страница 13: ...CONTENTS 6F8C0878 xi E Sample Programs 91 F Return Code List 103 G Option switch List 107 ...
Страница 14: ......
Страница 26: ......
Страница 72: ......
Страница 76: ......
Страница 82: ......
Страница 100: ......
Страница 102: ......
Страница 104: ......
Страница 116: ......
Страница 120: ......
Страница 122: ......
Страница 126: ......