C/C++
socketcc.txt
Associated article: A C++ Socket Library for Linux
Tags: C/C++ Open Source Mobile
Published source code accompanying the article by Jason in which he presents SocketCC, a C++ class library that supports both IPv4 and IPv6 network communications using both TCP and UDP style sockets. Also see SOCKETCC.ZIP.
A C++ Socket Library for Linux
by Jason But
Listing One
try
{
IPAddress cClientIP;
int iClientPort;
SocketBase cListenSock(), cCommsSock;
// Bind listening socket to port 80 and start listening for a connection
cListenSock.Bind(80);
cListenSock.Listen(5);
// Block until a client connects, cCommsSock ...


