Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Pleroma-tan (kirby@lab.nyanide.com)'s status on Saturday, 08-Jun-2024 14:38:34 JSTPleroma-tan got me thinking a bit, i recall an asynchronous http library in c would make you call a function over and over again to get progress of if connection has succeeded or not
could set up a timeout for reading from socket, then maybe have a mutex that counts the attempted recvs made and if its equal to a certain number assume connection has died?
idk