Commit Graph

15 Commits

Author SHA1 Message Date
Phillip Stephens d72163ad27
Merge pull request #8 from lioncash/bind
Listener: Remove unnecessary bind() within start()
2019-09-03 19:55:03 -07:00
Phillip Stephens fb3d880b63
Merge pull request #7 from lioncash/assignment
Listener: Simplify assignment within accept()
2019-09-03 19:54:45 -07:00
Lioncash be121a1bb9 Listener: Remove unnecessary bind() within start()
std::thread already handles execution of member functions
out-of-the-box.
2019-09-03 10:18:52 -04:00
Lioncash 33908dd86a Listener: Simplify assignment within accept()
We can just assign to the ret variable directly.
2019-09-03 10:15:33 -04:00
Lioncash 4538b20e73 Listener: Use C++17 deduction guides for mutex locks
Same thing, but without hardcoding the mutex type.
2019-09-03 10:13:30 -04:00
Lioncash 04ea97ac8e Listener: Move port constants into cpp file
These are a complete internal detail, so we can hide them from the
header entirely.
2019-09-03 10:07:14 -04:00
Lioncash d4891f187f General: Amend includes where applicable 2019-09-03 00:26:08 -04:00
Lioncash 6ce7c38e24 General: Make operator bool overloads and single-arg constructors explicit
Prevents various error-prone cases of implicit conversion to bool, while
retaining general conversions within conditional statements. We also
disable implicit conversions with constructors that may be ambiguous to
enforce being clear with intentions.
2019-08-14 10:00:01 -04:00
Jack Andersen e28b6551d0 New code style refactor 2018-12-07 19:20:55 -10:00
Jack Andersen b8c42676ce Minor reorganization; bind to localhost to prevent Windows Firewall alert 2017-01-21 15:38:02 -10:00
Jack Andersen 0153e0ee6a Add ability to change SI channel and detect disconnections 2017-01-07 16:51:38 -10:00
Jack Andersen 42f1b86627 Use blocking I/O for transfer thread 2017-01-07 11:19:25 -10:00
Jack Andersen e65f42c843 Disable logging macros 2017-01-06 22:28:58 -10:00
Jack Andersen c34b81ad6c Win32 compatibility fixes 2017-01-06 22:24:16 -10:00
Jack Andersen 9b2b1fd1e6 Use /lib rather than /src 2017-01-06 19:00:40 -10:00