This constructor constructs a socket object. When constructing a CCeSocket object, specify whether it is a listening socket or a data socket. After construction, call the Create method.
Header file: | Wcesock.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
CCeSocket ( PURPOSE_E iPurpose=FOR_DATA );
If you do not specify the purpose of the socket, the constructor constructs a data socket by default.