add support of netsocket