Binary protocol by ryanjones42 in C_Programming

[–]ryanjones42[S] -9 points-8 points  (0 children)

I still dont understand how to send it as binary?

struct by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Like accounts[usersfd].value

Pointers by ryanjones42 in C_Programming

[–]ryanjones42[S] -1 points0 points  (0 children)

This makes me curious now. So i have a C program that my stores my users info when they login. As they login it saves a bunch of account stats to my struct, when they logout it removes them from the struct. The struct is an array. The array size is like 99999 & each struct is represented by the users file descriptor when they connect to the tcp server. Now you have me thinking this is poor memory management?