aboutsummaryrefslogtreecommitdiff
path: root/src/socket.cpp
AgeCommit message (Collapse)Author
2017-08-24Network cleanup (#6302)Loïc Blot
* Cleanup network headers * Move peerhandler to a specific header to reduce compilation times * Move socket.cpp/h to network folder * More work * Network code cleanups * Move socket.{cpp,h} to network folder * Move Address object to network/address.{cpp,h} * Move network exceptions to network/networkexceptions.h * Client: use unique_ptr for Connection * Server/ClientIface: use shared_ptr for Connection * Format fixes * Remove socket.cpp socket.h from clang-format whitelist * Also fix NetworkPacket code style & make it under clang-format
2017-08-20Modernize code: very last fixes (#6290)Loïc Blot
Last modernization fixes
2017-06-27Fix msvc annoyances (#5963)adrido
* MSVC: Fix '/std:c++11' is not a valid compiler option * MSVC/MINGW: Define 'WIN32_LEAN_AND_MEAN' for the whole project In some obscure cases 'Windows.h" got includet before that definition, which leaded to compilation warnings+errors * MSVC: '/arch:SSE' is only available for x86 * MSVC: Fix float conversation * MSVC/MINGW: use winthreads on Windows * MSVC: 'USE_CMAKE_CONFIG' might be already definied by CMake build system * MSVC: Use all available cpu cores for compiling * Add missing include ctime and use std::time_t
2017-06-21Cpp11 initializers: last src root changeset (#6022)Loïc Blot
* Cpp11 initializers: last src root changeset Finish to migrate all src root folder files to C++11 constructor initializers
2015-11-08Add errno to socket creation failed exceptionkwolekr
2015-10-14Lower log level for benign socket errorsShadowNinja
2015-04-08Link against shlwapi.lib and unify linker input sources for Windowskwolekr
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2014-11-02Fix unit tests failing if IPv6 not availableCraig Robbins
See: https://github.com/minetest/minetest/issues/1526 https://github.com/minetest/minetest/issues/793
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-04-11Fix broken Ipv4 serialization on win32sapier
2014-04-10Infer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANYKahrl
2014-02-05Add the option to bind to a specific addressShadowNinja
2013-12-31Fix exception caused by destroying sockets on Server shutdownkwolekr
2013-11-06Correct useragent in http queriesproller
Net struct init
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-06-24Fix ipv6 on windowsproller
2013-06-23Math mapgen fix, ip show on connect, pathfinder segfault fixproller
2013-06-23Add support for IPv6proller
Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled)
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-03-22Add output levels --info and --trace (--verbose is now more verbose)Perttu Ahola
2012-03-22Move headers from socket.h to socket.cppPerttu Ahola
2012-03-22Fix UDPSocket's debug outputPerttu Ahola
2012-03-08Handle select errno EINTR properly (not doing this breaks at least many ↵Perttu Ahola
profilers)
2011-10-18Better handling of SendFailedException in ConnectionPerttu Ahola
2011-08-12Fix use of && instead of &Giuseppe Bilotta
2011-08-12added ipban supportConstantin Wenger
commands: /#ipban <nick> /#ipunban <ip>
2011-04-11fixed warnings reported by cppcheckPerttu Ahola
2011-02-08local game connects to 127.0.0.1 instead of localhost (windows returns an ↵Perttu Ahola
ipv6 address sometimes which is not supported)
2010-12-26working goodPerttu Ahola
2010-12-14settings manager: better default setting handling and updating config file ↵Perttu Ahola
and command line parsing
2010-11-29license stuffPerttu Ahola
--HG-- rename : src/licensecomment.txt => licensecomment.txt
2010-11-29Windows bug fixesPerttu Ahola
2010-11-29sitä sun tätä tekeillä, toimii kivastiPerttu Ahola
2010-11-27Initial filesPerttu Ahola