DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

geturg(SLIB)


geturg -- get TCP urgent data mode

Syntax

cc ... -lsocket

#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/tcp.h>

int geturg()

Description

The geturg routine returns the current TCP urgent mode. The valid modes are:
#define TCP_URG1122	0x0	/* old-style BSD urgent data */
#define TCP_URGBSD	0x1	/* RFC 1222 style urgent data */

This is useful for applications that wish to ensure interoperability with older systems.

See also

tcp(ADMP)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003