samp-re/socketlayer.c

19 lines
231 B
C
Raw Normal View History

2020-04-04 05:10:14 +02:00
/* vim: set filetype=c ts=8 noexpandtab: */
#include "socketlayer.h"
__declspec(naked)
int __stdcall SocketLayer__SendTo(
void *socket,
char *buf,
int len,
int host,
short port)
{
_asm {
mov eax, 0x462C50
jmp eax
}
}