DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

geturg(SLIB-osr5)


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)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005