CSocket

The CSocket class derives from CAsyncSocket and inherits its encapsulation of the Windows Sockets API. A CSocket object represents a higher level of abstraction of the Windows Sockets API than that of a CAsyncSocket object. CSocket works with classes CSocketFile and CArchive to manage the sending and receiving of data.

At a Glance

Header file: Afxsock.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

Remarks

Use the new CCeSocket class, instead of CSocket, when writing applications for Windows CE.

See Also

CSocket Member Functions, Windows Sockets Classes, CArchive, CAsyncSocket, CSocketFile