add sample of Socket