summaryrefslogtreecommitdiff
path: root/src/server
Commit message (Collapse)AuthorAgeFilesLines
* API!(server/clients:newClient): now returns a futuremainlittleblack1112025-06-221-3/+10
|
* API(server/clients:newClient): allow setting independent clients to waitlittleblack1112025-06-222-9/+8
| | | | fix!(server/clients:newClient): pass m_track also
* API(server/clients:create): optional wait argument making ClientManager wait ↵littleblack1112025-06-221-4/+5
| | | | for client thread to finish
* perf: use emplace_back instead of push_backlittleblack1112025-06-222-2/+2
|
* API(server/client:newClient): optional cb function onConnectlittleblack1112025-06-221-2/+3
|
* fix(server/client:isValid): m_sockfd nullptrlittleblack1112025-06-221-0/+3
|
* fix(server/clients): async initializationlittleblack1112025-06-222-2/+4
| | | | | API: newClient no longer take any args API: manual isValid() check is needed to interact with client now
* fix(server/server): keepalive and reuseaddr logic check being reversedlittleblack1112025-06-221-2/+2
|
* refactor(server): properly use weak pointerlittleblack1112025-06-223-37/+39
| | | | | API!(server/client:create): require manually specifying server API!(server/client:newClient): now returns a SP instead of WP
* fix(server/client:read): actually use m_tracklittleblack1112025-06-221-2/+3
|
* internal(server/client:write): directly pass a implicitly converted ↵littleblack1112025-06-221-6/+3
| | | | SRecvData to cb
* internal(server/client:read): cleanup m_szReading reset logiclittleblack1112025-06-221-4/+2
|
* internal(server): remove return of std::any for callbackslittleblack1112025-06-222-19/+20
| | | | use bool for cases for premature return
* API(server/clients:newClient): actually use the cb func user provided for ↵littleblack1112025-06-221-4/+2
| | | | client thread
* fix(server/client:runLoop): call recvLoop with cblittleblack1112025-06-221-1/+1
|
* API(server/clients): runLoop, resumeHistorylittleblack1112025-06-222-8/+16
|
* style: remove uncessary comments and fixed clangd formatlittleblack1112025-06-222-25/+9
| | | | fix(server/client:read): correctly set good = false and cb when failed
* internal(server/client:read): fix err cb logiclittleblack1112025-06-201-2/+1
|
* internal(server): set m_port for later uselittleblack1112025-06-201-2/+3
|
* API(session/clients:newClient): allow custom server ptrlittleblack1112025-06-191-2/+2
|
* fix!: share pointerlittleblack1112025-06-193-16/+57
| | | | for details: https://stackoverflow.com/a/5548314
* internal: seperate client and clientmanager headerlittleblack1112025-06-192-0/+2
|
* fix(server/clients): atexit handlerlittleblack1112025-06-191-5/+4
|
* internal: track data sent and store in m_vDataslittleblack1112025-06-181-2/+1
|
* internal: remove unused SData::adminlittleblack1112025-06-181-1/+1
|
* API: disallow creation of client without clientManagerlittleblack1112025-06-181-1/+1
|
* internal: remove unused m_namelittleblack1112025-06-182-23/+3
|
* API(server/clients): callback fucntion for kick functionlittleblack1112025-06-181-4/+4
|
* fix: disallow the creation of multiple serverslittleblack1112025-06-181-5/+9
| | | | style: errors with the class information
* feat: shutdownClients accepts an optional cb func nowlittleblack1112025-06-181-8/+7
| | | | fix: disallow creation of multiple clientManager
* fix!: create new client without SP<Clients>(this) paramlittleblack1112025-06-162-15/+10
| | | | | | API: removed run(), use newClient() to accept a new client, now returning a WP of the client instance API: allow all cb to return std::any
* fix: server typeslittleblack1112025-06-163-33/+35
|
* fix(cmake): linkinglittleblack1112025-06-163-5/+11
|
* init: serverlittleblack1112025-06-163-0/+325