
A CSocketFile object is a CFile object used for sending and receiving data across a network via Windows Sockets. You can attach the CSocketFile object to a CSocket object for this purpose. You generally attach the CSocketFile object to a CArchive object to simplify sending and receiving data using MFC serialization.
| Header file: | Afxsock.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation | Visual C++ documentation |
CSocketFile Member Functions, File Service Classes, CArchive, CAsyncSocket, CSocket