add compilation of netsocket