summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* API!(server/clients:newClient): now returns a futuremainlittleblack1112025-06-222-4/+12
|
* API(server/clients:newClient): allow setting independent clients to waitlittleblack1112025-06-224-16/+13
| | | | fix!(server/clients:newClient): pass m_track also
* API(server/clients:create): optional wait argument making ClientManager wait ↵littleblack1112025-06-222-6/+9
| | | | 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-222-3/+4
|
* fix(server/client:isValid): m_sockfd nullptrlittleblack1112025-06-221-0/+3
|
* fix(server/clients): async initializationlittleblack1112025-06-224-3/+6
| | | | | 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-226-45/+56
| | | | | 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-224-29/+28
| | | | use bool for cases for premature return
* API(server/clients:newClient): actually use the cb func user provided for ↵littleblack1112025-06-222-5/+3
| | | | client thread
* fix(server/client:runLoop): call recvLoop with cblittleblack1112025-06-221-1/+1
|
* API(server/clients): runLoop, resumeHistorylittleblack1112025-06-223-10/+19
|
* style: remove uncessary comments and fixed clangd formatlittleblack1112025-06-223-31/+14
| | | | 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
|
* init: LICENSElittleblack1112025-06-191-0/+674
|
* API(session/clients:newClient): allow custom server ptrlittleblack1112025-06-192-3/+4
|
* fix!: share pointerlittleblack1112025-06-196-29/+74
| | | | for details: https://stackoverflow.com/a/5548314
* fixup! internal: seperate client and clientmanager headerlittleblack1112025-06-191-6/+3
|
* internal: seperate client and clientmanager headerlittleblack1112025-06-194-36/+59
|
* fix(server/clients): atexit handlerlittleblack1112025-06-191-5/+4
|
* internal: track data sent and store in m_vDataslittleblack1112025-06-182-2/+3
|
* internal: remove unused SData::adminlittleblack1112025-06-182-2/+1
|
* API: disallow creation of client without clientManagerlittleblack1112025-06-182-2/+3
|
* internal: remove unused m_namelittleblack1112025-06-183-27/+3
|
* API(server/clients): callback fucntion for kick functionlittleblack1112025-06-182-5/+5
|
* 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-182-9/+8
| | | | fix: disallow creation of multiple clientManager
* fix!: create new client without SP<Clients>(this) paramlittleblack1112025-06-163-20/+15
| | | | | | 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-165-49/+55
|
* fix(cmake): linkinglittleblack1112025-06-169-20/+55
|
* init: serverlittleblack1112025-06-169-0/+590
|
* initlittleblack1112025-06-156-0/+260