Socket demo