Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 1 | -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. | |||||
2015-08-18 | Some warning fixes | Julian Laubstein | 1 | -1/+3 | |
2015-07-07 | Network: Fixed ServerHandle's address formatting. | Mattes D | 1 | -2/+2 | |
2015-02-18 | Network: Fixed two-socket servers. | Mattes D | 1 | -1/+1 | |
2015-02-08 | ServerHandle: Fixed socket reuse. | Mattes D | 1 | -10/+30 | |
Fixes CID 104670, CID 104670 and CID 103724. | |||||
2015-02-07 | Use evutil_make_listen_socket_reuseable | Howaner | 1 | -16/+6 | |
2015-02-07 | Set reuse flag to sockets | Howaner | 1 | -1/+24 | |
Should fix #1726 | |||||
2015-01-27 | Fixed listening ports not closed on cServerHandle::Close. | Mattes D | 1 | -0/+3 | |
2015-01-27 | ServerHandleImpl: Removed needless diagnostic output. | Mattes D | 1 | -4/+0 | |
2015-01-27 | cNetwork: Fixed IP address reading for incoming connections. | Mattes D | 1 | -1/+2 | |
2015-01-23 | cNetwork: Added self pointers to keep objects alive for callbacks. | Mattes D | 1 | -2/+8 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947 | |||||
2015-01-22 | cNetwork: Added link creation callback. | Mattes D | 1 | -0/+2 | |
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data. | |||||
2015-01-22 | cNetwork: Changed listening API. | Mattes D | 1 | -13/+36 | |
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback. | |||||
2015-01-22 | cNetwork: Added error message to error callbacks. | Mattes D | 1 | -5/+6 | |
2015-01-22 | cTCPLinkImpl: Fixed type conversion warning. | Mattes D | 1 | -1/+1 | |
2015-01-22 | cNetwork: Split the main cpp file into several files. | Mattes D | 1 | -0/+302 | |