CSocket

This 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: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation Visual C++ documentation

Remarks

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

See Also

CArchive, CAsynCSocket, CSocketFile, Windows Sockets Classes