test socket program