Make tcp server
Версия от 23:57, 5 июня 2017; Андрей Чусов (обсуждение | вклад) (Новая страница: «{{function_begin |template <class traits_t, class alloc_t> InternetConnectionEndPointOwn make_tcp_server(const std::basic_string<char, traits_t, alloc_t>& strC…»)
template <class traits_t, class alloc_t>
InternetConnectionEndPointOwn make_tcp_server(const std::basic_string<char, traits_t, alloc_t>& strClientAddress, std::uint16_t nPortLE); //1
InternetConnectionEndPointOwn make_tcp_server(_In_count_(cchClientAddress) const char* pClientAddress, std::size_t cchClientAddress, std::uint16_t nPortLE); //2
InternetConnectionEndPointOwn make_tcp_server(_In_z_ const char* pszClientAddress, std::uint16_t nPortLE); //3
InternetConnectionEndPointOwn make_tcp_server(std::uint32_t nClientAddressLE, std::uint16_t nPortLE); //4
InternetConnectionEndPointOwn make_tcp_server(_In_bytecount_c_(16) const std::uint8_t* pClientAddressLE, std::uint32_t nScopeLE, std::uint16_t nPortLE); //5
InternetConnectionEndPointOwn make_tcp_server(std::uint16_t nPortLE); //6
Создает серверную точку-доступа.
- Параметры
[in] strClientAddress Адрес клиента, от которого необходимо принимать соединения. Если адрес не задан, соединение принимается с любого адреса. [in] pClientAddress [in] pszClientAddress [in] nClientAddressLE [in] pClientAddressLE [in] cchClientAddress Длина адреса. nPortLE 16-битовый порт создаваемого сервера в Little-Endian формате. nScopeLE Контекст IPv6. - Возвращаемое значение:
- Объект InternetConnectionEndPointOwn.
- См. также
CreateTCPServer make_tcp_client make_tcp_node_name