add net and socket