add the vnet socket api(for export)