Use this constructor to construct a socket object. When you construct a CCeSocket object, specify whether it is a listening socket or a data socket. After construction, you must call the Create member function.
CCeSocket ( PURPOSE_E iPurpose=FOR_DATA );
Header file: | Wcesock.h |
Platforms: | |
Versions: | 2.0 and later |
FOR_LISTENING
FOR_DATA
If you do not specify the purpose of the socket, the constructor constructs a data socket by default.
CCeSocket Overview, CCeSocket Member Functions, Windows Sockets Classes, CCeSocket::Create