I am using Microsoft Visual C++ (VS Express for Desktop). I'm having difficulty linking the enet.lib and enet64.lib files. Here's what I did:
I also made sure to put #include <enet/enet.h>
at the top of my main.cpp. The program runs without any errors, but it doesn't seem to actually be working. In my client code it's supposed to throw an error if it can't connect to the server, yet when I run the client program while the server is not running, it doesn't throw any errors. Did I incorrectly link ENet, am I using the wrong version, or am I just using it incorrectly? I scrapped my own code and tried running an example client/server I found on the internet, it compiled but it didn't actually "work".
I figured it out, the problem was that I was linking both enet.lib AND enet64.lib.