This member function 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.
virtual BOOL Create ( UINT nSocketPort=0 );
Header file: | Wcesock.h |
Platforms: | |
Versions: | 2.0 and later |
TRUE if the socket was successfully created; FALSE if the operation failed.
If the socket is a listening socket, this function also ensures that the socket is open for reading.
CCeSocket Overview, CCeSocket Member Functions, Windows Sockets Classes, CAsyncSocket::Attach, CAsyncSocket::Bind, CCeSocket::CCeSocket