ACCEPT accepts the first connection request on the queue of pending connection requests. If the queue is empty, the call waits until the first connection request arrives or fails with an EWOULDBLOCK condition if the socket had been marked as non-blocking. If successful, a new socket descriptor is returned.
Assembler
label #SOCKET ACCEPT,
RETCODE=return-code,
ERRNO=errno,
RSNCODE=reason-code,
SOCK=socket-descriptor,
SOCKADDR=sockaddr,
SOCKADDL=sockaddr-length,
NEWSOCK=new-socket-descriptor,
PLIST=parameter-list-area,
RGSV=(rgsv)
List of USING Parameters
SOCKET-FUNCTION-ACCEPT, return-code, errno, reason-code, socket-descriptor, sockaddr, sockaddr-length, new-socket-descriptor
|
Copyright © 2014 CA.
All rights reserved.
|
|