Over in another forum, I found a couple skeletons for IRC bots:


So, I tried one, putting them into a Dev-C++ project, linking libws2_32.a, changing the server IP and channel name, and trying to run it. However, all it did was bring up an empty command prompt. The other one did the same thing.

See, I'm very new to sockets, so I can't tell if there's anything wrong with the code. Could it be a firewall issue? My house has a hardware firewall that's locked down pretty thoroughly. I'm not sure about that, though, because I can use IRC via chatzilla without configuring anything (meaning it must be letting port 6667 through okay?)

Any help is appreciated. Thanks!