S3D_NET_CHECK(3)

πŸ’– S3D_NET_CHECK(3) πŸ’–

okay bestie, welcome to the s3d manual, section 3, and today's main character is s3d_net_check πŸŽ€


✨ NAME ✨

s3d_net_check β€” get events from server πŸ¦‹


🌸 SYNOPSIS 🌸

#include <s3d.h>

int s3d_net_check(void);

πŸ’… DESCRIPTION πŸ’…

So like, this function is for programs that do not employ a mainloop. no mainloop?? no problem, but then you're on your own, bestie β€” you gotta go check for new events yourself πŸ™ˆ

Programs like these must make sure to call this function from time to time to convince the server that they did not freeze or bail out. it's giving "hey server, i'm still here, i promise i didn't ghost you" πŸ˜­πŸ’– the server is literally checking your vibe, so don't leave it on read.

no cap: if you skip this, the server thinks you froze or dipped, and that's a bad look. call it regularly. periodt. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Simon Wunderlich

Author of s3d ⭐


and that's a wrap, my love! this was the s3d manual's S3D_NET_CHECK(3) page β€” shoutout to the s3d source, mwah πŸ’‹ stay connected, keep calling your net check, and don't forget to hydrate πŸ“πŸ§šπŸ’œ