0
BOOL f_WSAConnect(SOCKET s, const sockaddr *name, int namelen, LPWSABUF lpCallerData, LPWSABUF lpCalleeData, LPQOS lpSQOS, LPQOS lpGQOS)
{
    MessageBoxA(NULL, name, "hi", MB_OK | MB_SYSTEMMODAL);
    return WSAConnect(NULL, NULL, NULL, NULL, NULL, NULL, NULL);
}

我正在尝试从 const sockaddr 获取 ipv4,但我不确定如何处理它?

4

0 回答 0