This method creates the Windows socket after a socket object is constructed, and attaches it to the CCeSocket object. Create then calls Bind to bind the socket to the specified address.
Header file: | Wcesock.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
virtual BOOL Create ( UINT nSocketPort=0 );
TRUE indicates that the socket was successfully created. FALSE indicates that the operation failed.
If the socket is a listening socket, this method also ensures that the socket is open for reading.
CAsyncSocket::Attach, CAsyncSocket::Bind, CCeSocket::CCeSocket