summaryrefslogtreecommitdiff
path: root/src/socket.h
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-19Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282)Loïc Blot
* Code modernization: src/p*, src/q*, src/r*, src/s* (partial) * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Spelling: vertice -> vertex
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
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
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-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-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-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
2011-10-18Better handling of SendFailedException in ConnectionPerttu Ahola
2011-08-12added ipban supportConstantin Wenger
commands: /#ipban <nick> /#ipunban <ip>
2011-02-11some fixes to make compiling on some bsd easierPerttu Ahola
2011-02-11fully working i guessPerttu Ahola
2011-02-11new texture stuff quite workingPerttu 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-11-29license stuffPerttu Ahola
--HG-- rename : src/licensecomment.txt => licensecomment.txt
2010-11-27Initial filesPerttu Ahola