You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.
WSASend and WSARecv use the PASCAL calling convention, which is not supported by .NET. This may be why it doesn't work The injectable DLL that does the hooking is written in .NET, meaning there is a difference between the calling convention of the new function and the original function.
It's possible to change the calling convention of a Delegate with UnmanagedFunctionPointerAttribute, but only cdecl, fastcall, stdcall and thiscall seem to be supported.
Of course it is possible that it's due to another reason that this hook doesn't work, and maybe we'll have to switch to a different hooking method altogether.
The text was updated successfully, but these errors were encountered:
Definition on this line.
WSASend and WSARecv use the PASCAL calling convention, which is not supported by .NET. This may be why it doesn't work The injectable DLL that does the hooking is written in .NET, meaning there is a difference between the calling convention of the new function and the original function.
It's possible to change the calling convention of a Delegate with
UnmanagedFunctionPointerAttribute
, but only cdecl, fastcall, stdcall and thiscall seem to be supported.Of course it is possible that it's due to another reason that this hook doesn't work, and maybe we'll have to switch to a different hooking method altogether.
The text was updated successfully, but these errors were encountered: