11extern void checkerr(
int Result,
const char *ErrorOut);
Main Header FileThis File Calls for all the header files exisitng in this library,...
void checkerr(int Result, const char *ErrorOut)
Checks if Result is < 0 then printout the ErrorOut and exits with code 0.
int snf_setnonblocking(int _sock)
Sets a socket as non blocking.
char * snf_strlen_to_bytes(const char *Str, int nBytes)
Turns a string's length into a sequence of bytes (Following big-endian)
void(* SNF_ERR_OUT)(const char *)
uint32_t snf_bytes_to_uint32(const char *bytes, int nBytes)
Turns a sequence of bytes into a uint32 (Following big-endian)
char * snf_uint32_to_bytes(uint32_t i, int nBytes)
Turns a uint32 into a sequence of bytes (Following big-endian)
void snf_print_err(const char *StrErr)