SVR5 and SCO OpenServer 5
MapLogSocket(D3pccard)
MapLogSocket --
map a logical socket to Socket Services
Synopsis
#include <sys/types.h>
#include <sys/lcs.h>
#include <sys/lss.h>
int CardServices (MapLogSocket, int n1,
int n2, int MapSocketLen,
MapSocket_t *pMapLogSocket,
rm_key_t key);
Description
MapLogSocket( )
requests
CardServices( )
to map a logical socket to
its Socket Services physical adapter
and obtain socket values.
Arguments
n1-
NULL
n2-
NULL
MapSocketLen-
Pointer to the
MapSocket(D4pccard)
structure.
Must be set to 4.
pMapLogSocket-
Pointer to a
MapSocket(D4pccard)
structure.
key-
Resource manager
key.
Return values
BAD_ARG_LENGTH-
MapSocketLen is not equal to 4.
BAD_SOCKET-
Socket invalid.
SUCCESS-
Logical socket successfully mapped
to physical resources.
Usage
The data structure of MapLogSocket is given as follows:
Context and synchronization
Blockable, initialization, or user
context
Hardware applicability
All
Version applicability
pccard:
1, 2, 3
References
MapSocket(D4pccard)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005