Startwithgenesis Interview Question

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