add socket program for arm and linux