Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 283 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: Fri Mar 29 12:47:16 CET 2024

Total time taken to generate the page: 0.01320 seconds