WSAConnect 函数与另一个套接字应用程序建立连接,交换连接数据,并根据指定的 FLOWSPEC 结构指定所需的服务质量。语法C++ 复制 int WSAAPI WSAConnect( [in] SOCKET s, [in] const sockaddr *name, [in] int namelen, [in] LPWSABUF lpCallerData, [out] LPWSABUF lpCalleeData, [in] LPQOS lpSQOS, ...
int WSAConnect( SOCKET s, const struct SOCK_ADDR* name, int namelen, LPWSABUF lpCallerData, LPWSABUF lpCalleeData, LPQOS lpSQOS, LPQOS lpGQOS ); Parameterss [in] Descriptor identifying an unconnected socket. name [in] Name of the socket in the other application to which to connect. name...
int WSAConnect( SOCKET s, const struct sockaddr FAR* name, int namelen, LPWSABUF lpCallerData, LPWSABUF lpCalleeData, LPQOS lpSQOS, LPQOS lpGQOS ); Parameterss [in] Descriptor identifying an unconnected socket.name [in] Name of the socket in the other application to which to connect.name...
WSAConnect 函数与另一个套接字应用程序建立连接,交换连接数据,并根据指定的 FLOWSPEC 结构指定所需的服务质量。
Socket Functions Windows-Specific Extension Functions Windows-Specific Extension Functions WSAAccept WSAAddressToString WSACleanup WSACloseEvent WSAConnect WSACreateEvent WSAEnumNameSpaceProviders WSAEnumNetworkEvents WSAEnumProtocols WSAEventSelect WSAGetLastError
WSAConnectByName 函数与指定的主机和端口建立连接。 提供此函数用于允许在给定主机名和端口的情况下快速连接到网络终结点。此函数支持 IPv4 和 IPv6 地址。语法C++ 复制 BOOL WSAConnectByNameA( [in] SOCKET s, [in] LPCSTR nodename, [in] LPCSTR servicename, [in, out] LPDWORD LocalAddressLength, [out...
We're no longer updating this content regularly. Check theMicrosoft Product Lifecyclefor information about how this product, service, technology, or API is supported. Return to main site Dismiss alert Winsock Functions Socket Functions Windows-Specific Extension Functions ...
int WSAConnect(SOCKET s,const struct sockaddr FAR* name,int namelen,LPWSABUF lpCallerData,LPWSABUF lpCalleeData,LPQOS lpSQOS,LPQOS lpGQOS); Parameterss [in] Descriptor identifying an unconnected socket. name [in] Name of the socket in the other application to which to connect. namelen [in]...
int WSAConnect( SOCKET s, const struct SOCK_ADDR* name, int namelen, LPWSABUF lpCallerData, LPWSABUF lpCalleeData, LPQOS lpSQOS, LPQOS lpGQOS ); Parameterss [in] Descriptor identifying an unconnected socket. name [in] Name of the socket in the other application to which to connect. name...
WSAConnectByName 函数与指定的主机和端口建立连接。 提供此函数用于允许在给定主机名和端口的情况下快速连接到网络终结点。此函数支持 IPv4 和 IPv6 地址。语法C++ 复制 BOOL WSAConnectByNameA( [in] SOCKET s, [in] LPCSTR nodename, [in] LPCSTR servicename, [in, out] LPDWORD LocalAddressLength, [out...