Startwithgenesis Interview Question

How we will set up socket at client and server side?