Make tcp server: различия между версиями

Материал из CAMaaS preliminary wiki
Перейти к навигации Перейти к поиску
(Новая страница: «{{function_begin |template <class traits_t, class alloc_t> InternetConnectionEndPointOwn make_tcp_server(const std::basic_string<char, traits_t, alloc_t>& strC…»)
 
Строка 1: Строка 1:
{{DISPLAYTITLE:make_tcp_server}}
{{function_begin |template <class traits_t, class alloc_t>
{{function_begin |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(const std::basic_string<char, traits_t, alloc_t>& strClientAddress, std::uint16_t nPortLE); //1

Версия 00:36, 6 июня 2017

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 Длина адреса.
nPortLE16-битовый порт создаваемого сервера в Little-Endian формате.
nScopeLEКонтекст IPv6.
Возвращаемое значение:
Объект InternetConnectionEndPointOwn.
См. также
CreateTCPServer
make_tcp_client
make_tcp_node_name