updates to net.h