Code example for Socket

Methods: bind, connect