Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a reasonable listen backlog value (#4597) | Mat | 2020-04-02 | 1 | -2/+2 |
| | |||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 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. | ||||
* | Some warning fixes | Julian Laubstein | 2015-08-18 | 1 | -1/+3 |
| | |||||
* | Network: Fixed ServerHandle's address formatting. | Mattes D | 2015-07-07 | 1 | -2/+2 |
| | |||||
* | Network: Fixed two-socket servers. | Mattes D | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | ServerHandle: Fixed socket reuse. | Mattes D | 2015-02-08 | 1 | -10/+30 |
| | | | | Fixes CID 104670, CID 104670 and CID 103724. | ||||
* | Use evutil_make_listen_socket_reuseable | Howaner | 2015-02-07 | 1 | -16/+6 |
| | |||||
* | Set reuse flag to sockets | Howaner | 2015-02-07 | 1 | -1/+24 |
| | | | Should fix #1726 | ||||
* | Fixed listening ports not closed on cServerHandle::Close. | Mattes D | 2015-01-27 | 1 | -0/+3 |
| | |||||
* | ServerHandleImpl: Removed needless diagnostic output. | Mattes D | 2015-01-27 | 1 | -4/+0 |
| | |||||
* | cNetwork: Fixed IP address reading for incoming connections. | Mattes D | 2015-01-27 | 1 | -1/+2 |
| | |||||
* | cNetwork: Added self pointers to keep objects alive for callbacks. | Mattes D | 2015-01-23 | 1 | -2/+8 |
| | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947 | ||||
* | cNetwork: Added link creation callback. | Mattes D | 2015-01-22 | 1 | -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 D | 2015-01-22 | 1 | -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 D | 2015-01-22 | 1 | -5/+6 |
| | |||||
* | cTCPLinkImpl: Fixed type conversion warning. | Mattes D | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | cNetwork: Split the main cpp file into several files. | Mattes D | 2015-01-22 | 1 | -0/+302 |