U++ framework
Do not panic. Ask here before giving up.

Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » UDP Server/Client with Winsock
UDP Server/Client with Winsock [message #49844] Wed, 16 May 2018 16:58 Go to previous message
lovmy is currently offline  lovmy
Messages: 44
Registered: November 2015
Member

Hello,

i'm using version 11873 of TheIDE. I try to compile a code to do UDP connexion between server and client using Winsock.

Compiling is OK but linking finish with error:

undefined reference to WSAStartup

I think GCC don't found ws2_32.lib, but the path where this file is present is ok (...mingw64/32/i686-w64-mingw32/lib) and i have add "-lws2_32" in Common link option.

Where is my error ? Sorry i don't speak very well English.
  • Attachment: udp.png
    (Size: 112.41KB, Downloaded 524 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: THISFN and Thread
Next Topic: What is the difference between the memory management in C and C++?
Goto Forum:
  


Current Time: Sat Jun 27 08:13:10 GMT+2 2026

Total time taken to generate the page: 0.00500 seconds