AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE User's Guide Page 236

  • Download
  • Add to my manuals
  • Print
  • Page
    / 316
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 235
222
K
A
DAK
KwikNet TCP/IP Sockets
Returns If successful, a non-negative socket descriptor is returned.
On failure, the error status
-1 is returned.
If a socket cannot be created, the error indicator defining the reason for
failure cannot be recorded. You cannot use
kn_errno() to retrieve the
error code since you have no socket descriptor to interrogate. The
following error codes, although not available for testing, still define the
possible reasons for failure.
EPROTONOSUPPORT The socket type or the specified protocol is not
supported within the domain.
EMFILE No more sockets are available. Close some sockets
or revise your KwikNet configuration to provide more.
ENOBUFS Resources needed to create a socket are unavailable.
Restriction Sockets of type SOCK_RAW cannot be used unless you have configured your
KwikNet libraries to allow support raw sockets. Edit your KwikNet Network
Parameter File and check the box labeled "Use raw sockets" on the TCP
property page.
See Also kn_accept(), kn_bind(), kn_connect()
Page view 235
1 ... 235 236 237 ... 316

Comments to this Manuals

No comments