summaryrefslogtreecommitdiff
path: root/src/sessionManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: shared ptr .get() and std::move() use caseslittleblack1112025-03-201-1/+1
| | | | fixes a bug where dtor of CSession is not called
* session: get/use IP and port on connectlittleblack1112025-03-201-4/+3
|
* clang-formatlittleblack1112025-03-201-16/+17
|
* signal(session,sessionManager): atexit handlerlittleblack1112025-03-201-0/+8
| | | | sometimes have malloc: Heap corruption detected :/
* fix(registerName): no longer allow same namelittleblack1112025-03-201-8/+21
| | | | | | | | | | 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-0/+6
| | | | | | | possible fix(chatServer, CSessionManager): .join sessionThread properly cleanup(server): unused header
* 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-7/+21
| | | | perf: use server sockfd directly instead of a dupe of it
* clang-format & clang-tidylittleblack1112025-03-041-12/+9
|
* refactor!: python -> c++littleblack1112025-03-041-0/+29