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/sktex.c File Reference

Detailed Description

Socket example program [Sec. 8.1.1].

Definition in file sktex.c.

Go to the source code of this file.


#define SOCKETNAME   "MySocket"


int main (void)

Define Documentation

#define SOCKETNAME   "MySocket"

Definition at line 25 of file sktex.c.

Referenced by main().

Function Documentation

int main void   ) 

Definition at line 27 of file sktex.c.

References accept(), bind(), close(), connect(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_neg1, errno, exit(), fork(), listen(), read(), sleep(), socket(), SOCKETNAME, sockaddr_un::sun_family, sockaddr_un::sun_path, unlink(), and write().

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