-
Forwarding connection
Hello.
I'm using libcurl on my project, but i need some help. I want to forward connect send, recv and other functions to their WSA representative (connect -> WSAconnect, send -> WSAsend, ... )
There is any easy way to make a macro or overlay function to make this?
I really need this help.
-
Find+Replace?
But define a function like
Code:
newConnect(...)
{
WSAConnect(...);
}
So find+replace 'connect(' with 'newConnect(' for example and in the newConnect() function translate the parameters of connect() to WSAConnect() and you are done