2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c8/sktexdg.c File Reference


Detailed Description

SOCK_DGRAM example program [Sec. 8.6.2].

Definition in file sktexdg.c.

Go to the source code of this file.

Defines

#define SOCKETNAME1   "SktOne"
#define SOCKETNAME2   "SktTwo"
#define MSG_SIZE   100

Functions

int main (void)


Define Documentation

#define MSG_SIZE   100
 

Definition at line 32 of file sktexdg.c.

#define SOCKETNAME1   "SktOne"
 

Definition at line 29 of file sktexdg.c.

Referenced by main().

#define SOCKETNAME2   "SktTwo"
 

Definition at line 30 of file sktexdg.c.

Referenced by main().


Function Documentation

int main void   ) 
 

Definition at line 34 of file sktexdg.c.

References bind(), close(), EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), fork(), MSG_SIZE, read(), sendto(), sleep(), socket(), SOCKETNAME1, SOCKETNAME2, sockaddr_un::sun_family, sockaddr_un::sun_path, and unlink().


Generated on Fri Apr 23 10:57:10 2004 for AUP2 Example Source by doxygen 1.3.1