Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sni_close(3)

sni_connect(3)

server.dat(4)

xns_listener(8)



  sni_accept(3)                       CLIX                       sni_accept(3)



  NAME

    sni_accept - Function which accepts a connection

  LIBRARY

    INC Library (libinc.a)

  SYNOPSIS

    char *sni_accept(
      long *sd );

  PARAMETERS

    sd   A pointer to a long integer representing a network interface
         descriptor

  DESCRIPTION

    The sni_accept() function accepts a connection to a requester and assigns
    a Simple Network Interface (SNI) descriptor to the connection.  The call
    is completed when the requester and server connect, or when an error
    occurs.

    If the call is successful, a pointer will be assigned an identifier for
    the connection (called an SNI descriptor).

  FILES

    /usr/ip32/inc/server.dat   Server information file.

  NOTES

    The sni_accept() function should only be invoked by a server program.

  RETURN VALUES

    Upon successful completion, a null pointer is returned.  Otherwise, a
    pointer to an error message is returned.

  RELATED INFORMATION

    Functions:  sni_close(3), sni_connect(3), server.dat(4)

    xns_listener(8)








  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026