add wifi and socket