Commit Graph

23 Commits

Author SHA1 Message Date
Tristan B. Kildaire cc95b8e2e9 Add listener array to server 2020-11-03 10:56:58 +02:00
Tristan B. Kildaire 170511a934 dserver now uses `gprintln` 2020-10-29 11:24:12 +02:00
Tristan B. Kildaire e1848d9b89 Why the fuck would I do it like that 2020-10-26 13:32:33 +02:00
Tristan B. Kildaire 70549b8fdb Implemented `setProperty` on the server 2020-10-20 10:45:17 +02:00
Tristan B. Kildaire 4af556a8c6 Added server functions for `isProperty` and `getProperty` for users 2020-10-20 09:54:42 +02:00
Tristan B. Kildaire 95d2c2adc9 Added getStatus message 2020-10-20 07:57:27 +02:00
Tristan B. Kildaire cc4de82818 Freeze 2020-10-05 15:59:08 +02:00
Tristan B. Kildaire ef90f1ba13 daemon now uses configuration file for network parameters, also added motd command and serverinfo command (not yet implemented) 2020-10-02 16:11:27 +02:00
Tristan B. Kildaire 5ef44b3d9b Added 'membercount' command 2020-09-29 14:29:46 +02:00
Tristan B. Kildaire e30987546b Added debug prints for now solved bug (tristanable concurrency fix, early request), also simplified channel joins to be mutex atomic in that all stuff must first complete 2020-09-28 19:23:04 +02:00
Tristan B. Kildaire 89f9b7cc41 Cleanup 2020-09-28 12:54:05 +02:00
Tristan B. Kildaire 98700f3067 Fixed compilation error 2020-09-28 12:50:40 +02:00
Tristan B. Kildaire c7fd5a6d30 Migrated connectionQueue addition code to addConnection() 2020-09-28 11:56:59 +02:00
Tristan B. Kildaire 5983f090e3 Leave all channels you were a member of on socket read error (caused by disconnect) 2020-09-28 11:42:14 +02:00
Tristan B. Kildaire d4384c439e Added function to get list of connections, added sendUserMessage function (WIP) to send a message to a given user 2020-09-27 18:31:34 +02:00
Tristan B. Kildaire 2b94a85e2c Added 'getMemberCount()' to DChannel 2020-09-26 15:05:52 +02:00
Tristan B. Kildaire 4394dc9ae2 Fixed mutex not being unlocked, only the O.G locker could continue resursively lokcing it 2020-09-25 12:53:34 +02:00
Tristan B. Kildaire 723d44aa1f Fixed code whereby mutex would never be unlocked if channel was found 2020-09-25 10:21:58 +02:00
Tristan B. Kildaire 7caf0aa22f Implemented 'list' command 2020-09-24 12:32:00 +02:00
Tristan 🅱. Kildaire c031db0ca2 Set bind details, address type, sock flow type and protocol typep 2020-09-23 21:49:56 +02:00
Tristan 🅱. Kildaire 7e1e361c21 Added 'join' command 2020-09-23 18:52:11 +02:00
Tristan 🅱. Kildaire e10a7d5b3e Save the tag for future use when sending replies 2020-09-23 11:20:09 +02:00
Tristan 🅱. Kildaire 9ad7a4b313 Initial code 2020-09-23 09:37:18 +02:00