Wifi transmission through socket