S
O
C
K
E
T
S
Dr. Clue's Awesome Provider!
THE PEOPLE METER READS 20742
E-Me!!
Your questions, comments and searches are what make this site grow!
INTRODUCTION
D
r. Clue's C++ Socket class introduces a whole new world of possibilities.
Allows you to instantly create a client or a server.
Forking and non-Forking Operation
Includes code for eproto and broken pipes
The -lsocket should really only be used when the system complains about undefined symbols in relation to bind, connect and similar functions during the build.
The -lnsl should really only be used when the system complains about about undefined symbols in relation to things like gethostbyname and similar functions
Sourcecode for the C++ Socket class
Suggested gcc command line
Last Update
F1Socket.C
[
D
]
F1Socket.h
[
D
]
gcc F1Socket.C
yourprogram.C
-lnsl -lsocket -o
yourprogram
08/23/2001
1 Intro To SOCKETS Programming
2 SOCKET CLASS Functions
3 SOCKET CLASS Example
4 SOCKET PORT NUMBERS
5 SOCKET IP NUMBERS
Advertise
on Dr. Clue's www.drclue.net, it's easy!
E-Me!!