I\'m compiling a .c program using gcc compiler on linux,
But , i received the error shown as \"error: lvalue required as left operand of assignment\"
The er
The left value you have cast it to a socklen_t * pointer type, however the right value is socklen_t type, so this error is printed. I have the same question as Jim Balter, you should make sure the socklen_t type can be expressed by int. I mean if int is 32 bytes, would socklen_t be more than 32 bytes? You should declare saddr_size socklen_t type