summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/ServerHandleImpl.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a reasonable listen backlog value (#4597)Mat2020-04-021-2/+2
|
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-1/+1
| | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
* Some warning fixesJulian Laubstein2015-08-181-1/+3
|
* Network: Fixed ServerHandle's address formatting.Mattes D2015-07-071-2/+2
|
* Network: Fixed two-socket servers.Mattes D2015-02-181-1/+1
|
* ServerHandle: Fixed socket reuse.Mattes D2015-02-081-10/+30
| | | | Fixes CID 104670, CID 104670 and CID 103724.
* Use evutil_make_listen_socket_reuseableHowaner2015-02-071-16/+6
|
* Set reuse flag to socketsHowaner2015-02-071-1/+24
| | | Should fix #1726
* Fixed listening ports not closed on cServerHandle::Close.Mattes D2015-01-271-0/+3
|
* ServerHandleImpl: Removed needless diagnostic output.Mattes D2015-01-271-4/+0
|
* cNetwork: Fixed IP address reading for incoming connections.Mattes D2015-01-271-1/+2
|
* cNetwork: Added self pointers to keep objects alive for callbacks.Mattes D2015-01-231-2/+8
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
* cNetwork: Added link creation callback.Mattes D2015-01-221-0/+2
| | | | This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
* cNetwork: Changed listening API.Mattes D2015-01-221-13/+36
| | | | The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
* cNetwork: Added error message to error callbacks.Mattes D2015-01-221-5/+6
|
* cTCPLinkImpl: Fixed type conversion warning.Mattes D2015-01-221-1/+1
|
* cNetwork: Split the main cpp file into several files.Mattes D2015-01-221-0/+302