Update nn.h

copy paste issue from socket.h