summaryrefslogtreecommitdiff
path: root/src/sessionManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* NFormatter: no more prefix support for socket writelittleblack1112025-03-201-1/+1
| | | | NFormatter: remove CHAT prefix
* sessionManager(broadcast): same order arg list as loglittleblack1112025-03-201-1/+1
|
* session: get/use IP and port on connectlittleblack1112025-03-201-1/+1
|
* clang-formatlittleblack1112025-03-201-10/+10
|
* signal(session,sessionManager): atexit handlerlittleblack1112025-03-201-0/+1
| | | | sometimes have malloc: Heap corruption detected :/
* fix(registerName): no longer allow same namelittleblack1112025-03-201-1/+4
| | | | | | | | | | the previous behaviour was it wouldn't broadcast the message to the same name debug: more logging, maybe we should disable TRACE by default in the future? WIP: partial impl of signal handling(SIGINT(keyboardinterrupt) etc)
* feat: broadcast message from one client to the rest, making chat actually ↵littleblack1112025-03-201-2/+6
| | | | | | | possible fix(chatServer, CSessionManager): .join sessionThread properly cleanup(server): unused header
* fix(essionManager): default broadcast = {} -> broadcast = NONElittleblack1112025-03-201-1/+1
|
* sessionManager: run in a jthread, for prep of inputManagerlittleblack1112025-03-201-1/+1
| | | | refactor(main)!: move main infra to oop chatServer
* fix: session not disconnected properlylittleblack1112025-03-201-5/+7
| | | | perf: use server sockfd directly instead of a dupe of it
* clang-format & clang-tidylittleblack1112025-03-041-7/+8
|
* refactor!: python -> c++littleblack1112025-03-041-0/+20