summaryrefslogtreecommitdiff
path: root/src/session.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* bump: compile_commandslittleblack1112025-03-201-6/+7
|
* session: get/use IP and port on connectlittleblack1112025-03-201-4/+10
|
* clang-formatlittleblack1112025-03-201-19/+17
|
* session: log if user exited without registeringlittleblack1112025-03-201-2/+4
|
* session(registerSession): don't errno, just break if reset by peer(disconnect)littleblack1112025-03-201-8/+8
|
* signal(session,sessionManager): atexit handlerlittleblack1112025-03-201-0/+5
| | | | sometimes have malloc: Heap corruption detected :/
* fix(registerName): no longer allow same namelittleblack1112025-03-201-7/+19
| | | | | | | | | | 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)
* session: recvManager -> recvLooplittleblack1112025-03-201-3/+3
| | | | fix(recvLoop): break if !good
* feat: broadcast message from one client to the rest, making chat actually ↵littleblack1112025-03-201-4/+4
| | | | | | | possible fix(chatServer, CSessionManager): .join sessionThread properly cleanup(server): unused header
* style: remove random const, reorganize stufflittleblack1112025-03-201-9/+10
|
* fix: session not disconnected properlylittleblack1112025-03-201-12/+20
| | | | perf: use server sockfd directly instead of a dupe of it
* refactor: logging systemlittleblack1112025-03-071-18/+42
|
* session: dynamic onErrnolittleblack1112025-03-051-23/+14
| | | | refactor: read(std::string)
* cleanup: unused headerlittleblack1112025-03-051-1/+0
|
* clang-format & clang-tidylittleblack1112025-03-041-61/+60
|
* refactor!: python -> c++littleblack1112025-03-041-0/+112