summaryrefslogtreecommitdiff
path: root/src/chatServer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix: use shared ptr properlylittleblack1112025-03-201-1/+1
| | | | FIXME: for some reason dtors arent called even if use_count() is 0...
* chatServer: atexit() -> cleanup()littleblack1112025-03-201-0/+3
|
* clang-format & clang-tidylittleblack1112025-03-201-1/+2
|
* feat!: require arg for server portlittleblack1112025-03-201-2/+2
|
* rename(chatServer): m_sessionThread -> m_sessionManagerThreadlittleblack1112025-03-201-4/+4
|
* clang-formatlittleblack1112025-03-201-23/+22
|
* fix(registerName): no longer allow same namelittleblack1112025-03-201-5/+12
| | | | | | | | | | 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-4/+9
| | | | | | | possible fix(chatServer, CSessionManager): .join sessionThread properly cleanup(server): unused header
* sessionManager: run in a jthread, for prep of inputManagerlittleblack1112025-03-201-0/+32
refactor(main)!: move main infra to oop chatServer