IPX/SPX Programming Manual
Library Routines
HP NonStop IPX/SPX Programming Manual—528022-001
5-67
socket_set_nv_name
socket_set_nv_name
The socket_set_nv_name function sets the IPXPROTO process name.
*pName
points to a null-terminated character string containing the process name of the
IPXPROTO process that is to be accessed by subsequent calls to socket or
socket_nw.
Errors
No errors are returned for this function.
Usage Guidelines
The socket or socket_nw function opens the IPXROTO process by name; therefore,
the function must know the name of this process. If your program calls the
socket_set_nv_name function before calling the socket or socket_nw function,
the socket library opens the process you specify.
If your program does not call socket_set_nv_name, the socket library opens the
process with the name defined for TCPIP^PROCESS^NAME. If a defined name does not
exist, the socket library uses the process name $ZTC0.
C Synopsis
#include <sapapih>
short socket_set_nv_name( char *pName );
TAL Synopsis
?SOURCE SAPAPID
PROC SOCKET_SET_NV_NAME( pName ), LANGUAGE C;
STRING .EXT pName;
EXTERNAL;