the code compiles perfectly until i add the following line
after i add that line and compile, i get 2 errors
i cannot see how this would cause an issue as i have the code working in another project.
any help appreciated.
If somethings hard to do, its not worth doing - Homer Simpson
Code:
sock=WSASocket(AF_INET, SOCK_RAW,IPPROTO_IP,NULL,0,WSA_FLAG_OVERLAPPED);
after i add that line and compile, i get 2 errors
Creating library Object___Win32_Final/Object.lib and object Object___Win32_Final/Object.exp
MultiplayerIPBan.obj : error LNK2001: unresolved external symbol __imp__WSASocketA@24
final\Object.lto : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
i cannot see how this would cause an issue as i have the code working in another project.
any help appreciated.
If somethings hard to do, its not worth doing - Homer Simpson