Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

C++ Sockets


reaper4334's Avatar
Member
0 0

Okay, I'm using Dev-C++ on WindowsXP, and I'm trying to make a basic socket application, I've tried several tutorials with C++ Sockets… but I seem to be doing something wrong.

I know, use google and such… I have… but I seem to either get a tutorial for Linux or a VC++ tutorial..

If you would be able to help me or just give me a tip, I'd be grateful.

Thanks, Reaper


Uber0n's Avatar
Member
0 0

Have you linked it with winsock library?

Project -> Project options -> Parameters-> Add library or object -> libwsock32.a


reaper4334's Avatar
Member
0 0

hahaha Thanks Uber0n, I hadn't… stupid me :]

It seems like it's gonna work now…

Thanks guys, Reaper