Re: [Dev-C++] Trouble compiling winsock programs.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Abhijit S. <mu...@gm...> - 2002-12-30 10:49:51
|
> Hi, > > Thanks for your prompt responses! > > I should have mentioned in my earlier that I did try adding the -lwsock32 > option to the linker command line.I tried it once again though and the > result was the same as before.The undefined reference error to WSAStartup > error still shows up. Try linking in the WinSock2 lib, as Charles mentioned. > Also I would like to run this a stand alone file (not a project). Any > suggestions? For this, you might want to use the command-line/make, or else, specify in compiler options that you want the WinSock lib to be linked with all your programs. Remove it once you're done with this project. Bit of a hassle. Command-line would be better. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |