by having these functions act on netmgr handles instead of socket objects, they can be used in callback functions outside the netgmr.
by having these functions act on netmgr handles instead of socket objects, they can be used in callback functions outside the netgmr.