I 'm doing the first step with socket programming. I wrote a few lines that using winsocket api function:
include "winsock2.h"
int main(int argc, char *argv[])
{
SOCKET m_socket = socket( AF_INET, SOCK_STREAM, IPPROTO_TCP );
}
but in the linker step i recived the error above: [Linker error] undefined reference to 'socket@12'
thanks, Alessio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I 'm doing the first step with socket programming. I wrote a few lines that using winsocket api function:
include "winsock2.h"
int main(int argc, char *argv[])
{
SOCKET m_socket = socket( AF_INET, SOCK_STREAM, IPPROTO_TCP );
}
but in the linker step i recived the error above:
[Linker error] undefined reference to 'socket@12'
thanks, Alessio
http://www14.brinkster.com/aditsu/dev-cpp-faq.html#link
and this is dev-c++ delphi devopers forum, not users
Alessio,
Please take the time to look at a forum before posting to it. This is the post you posted directly over:
http://sourceforge.net/forum/forum.php?thread_id=940084&forum_id=33286
Wayne