Reputation: 1
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??
Upvotes: 0
Views: 67