Commit Graph

22 Commits

Author SHA1 Message Date
Joshua Ashton 79c277a440 Refactor logging :) 2020-08-07 06:23:22 +01:00
Joshua Ashton 818c1f55bd Add validity check to TCPListener 2020-08-02 00:55:21 +01:00
Joshua Ashton 5015bfc5c9 Split up networking components to their own files 2020-08-02 00:55:21 +01:00
Joshua Ashton bee6fde1a7 Log connection/disconnect properly 2020-08-02 00:55:21 +01:00
Joshua Ashton 3fbb7f0691 Logging to TCPListener 2020-08-01 07:35:22 +01:00
Joshua Ashton 50da8c2508 Misc socket cleaning 2020-08-01 07:35:22 +01:00
Joshua Ashton e8cfc0c1f8 Read all the packets!!!! 2020-08-01 05:53:22 +01:00
Joshua Ashton dacb7396be Append to buffer in ReadCallback 2020-08-01 05:19:23 +01:00
Joshua Ashton 9ec90e9083 Use input buffer directly 2020-08-01 05:17:27 +01:00
Joshua Ashton cc03c321f3 Implement socket shutdown/closing 2020-08-01 04:54:31 +01:00
Joshua Ashton d4b8842c92 Eliminate needless indirection from TCP stack 2020-08-01 04:38:59 +01:00
Joshua Ashton 392688ad2c Add newline to end of files 2020-08-01 00:57:33 +01:00
Joshua Ashton 0e0a8d89ed Big network rewrites
Hook up protocol, lots of cleaning 🧹
2020-07-31 02:53:45 +01:00
Joshua Ashton 8423980536 Work on refactoring networking system 2020-07-29 01:46:31 +01:00
Joshua Ashton 3a46a59a96 Fix format argument in DispatchQueuedPackets 2020-07-28 05:53:49 +01:00
DankParrot 8dabf013ef Add Protocol, ClientHandle, PacketTypes 2020-07-27 21:45:03 -07:00
DankParrot 33896730a8 Remove usage of deleted Buffer.cpp 2020-07-25 17:33:00 -07:00
Joshua Ashton 651da100d3 More work on network messages/buffers 2020-07-25 19:32:13 +01:00
DankParrot 987cc5fc7d Fix missing cstring include 2020-07-24 23:00:05 -07:00
DankParrot 4946a5fa56 Add basic Buffer class 2020-07-24 22:51:59 -07:00
Joshua Ashton f298df5aef Implement MOTD basics
Hacky but, it'll do!
2020-07-25 04:58:04 +01:00
Joshua Ashton d2af20daca Pull in and hook up libevent 2020-07-25 03:01:34 +01:00