{
{    The purpose of this procedure is to establish the specified socket as a
{ 'listen' socket.  If the given socket has not been bound by a previous
{ request, it is implicitly bound to a unique port number and all the IP
{ addresses known to the host.  The unique port number is assigned by NAM/VE.
{ After successful completion of this request, the caller can accept connect
{ requests over all the IP addresses bound to the socket.
{
{    This request is valid only for a TCP (stream) socket.
{
{       NAP$SK_LISTEN_SOCKET (SOCKET_ID, QUEUE_LIMIT, STATUS)
{
{ SOCKET_ID: (input)  This parameter specifies the identifier of the socket to
{       be established as a listen socket.
{
{ QUEUE_LIMIT: (input)  This parameter specifies the limit on the number of
{       pending connect requests awaiting accept by the TCP/IP user.
{
{ STATUS: (output) This parameter specifies the request status.
{       CONDITION:
{             nae$sk_incorrect_socket_type
{             nae$sk_invalid_user
{             nae$sk_job_recovery
{             nae$sk_listen_already_active
{             nae$sk_no_available_port
{             nae$sk_socket_already_connected
{             nae$sk_socket_terminated
{             nae$sk_unknown_socket
{
