Sylvain Petreolle wrote: > Was incorrect before too, since it was sizeof(int) in the first place ?
The old type of "val" was "int", so it made no different to the size. When "val" is of type socklen_t, it matters. -- Jamie
Sylvain Petreolle wrote: > Was incorrect before too, since it was sizeof(int) in the first place ?
The old type of "val" was "int", so it made no different to the size. When "val" is of type socklen_t, it matters. -- Jamie