I already included <"stdio.h">
using this function
bzero(&server, length);
but the compiler says
error: 'bzero' was not declared in this scope
`
bzero()
is not part of the standard library, it belongs to POSIX.
It's actually deprecated (note the LEGACY in the manual) now, so consider using memset()
instead.
bzero
to be declared? there is no such function in stdio required by the standard. – BeyelerStudios<strings.h>
not<stdio.h>
.pubs.opengroup.org/onlinepubs/009695399/functions/bzero.html. Any how you should not use this function any more, as it has been deprecated. Better to usememset
in its place. – Rndp13