Very new to socket programming and am using Bloodshed Dev C++ v4.9.9.2.
I have linked both libws2_32.a and libwsock32.a in project options. Also
calling winsock.h and WSAStartup() in the program.
I am using calls socket(), bind(), connect(), listen(), accept() in my test
program and I get a linker error only for connect(). ------ undefined
reference to `Connect'.
No other errors. Without the connect() call, the program compiles
successfully.
I am not able to figure out what I missed for connect().
Thank you in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Very new to socket programming and am using Bloodshed Dev C++ v4.9.9.2.
I have linked both libws2_32.a and libwsock32.a in project options. Also
calling winsock.h and WSAStartup() in the program.
I am using calls socket(), bind(), connect(), listen(), accept() in my test
program and I get a linker error only for connect(). ------ undefined
reference to `Connect'.
No other errors. Without the connect() call, the program compiles
successfully.
I am not able to figure out what I missed for connect().
Thank you in advance.
Does `Connect' start with an upper case letter?
I completely overlooked that point. Connect starts with a lower case. So dumb
of me. Thanks a lot !!