This method is called after constructing a socket object to create the Windows socket and attach it. Create then calls Bind to bind the socket to the specified address.
| Header file: | Afxsock.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 2.0 and later |
| Complete documentation | Visual C++ documentation |
BOOL Create( UINT nSocketPort = 0, int nSocketType = SOCK_STREAM,
LPCTSTR lpszSocketAddress = NULL );
CAsynCSocket::Create, CAsynCSocket::Bind