Passing a structure through Sockets in C

This is a very bad idea. Binary data should always be sent in a way that: Handles different endianness Handles different padding Handles differences in the byte-sizes of intrinsic types Don’t ever write a whole struct in a binary way, not to a file, not to a socket. Always write each field separately, and read … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)