Socket in distributed system