Trying to get ipv4 from const sockaddr

79 Views Asked by At
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);
}

I'm trying to obtain the ipv4 from const sockaddr when it's passed and i am not sure how i would approach it??

0

There are 0 best solutions below