Code example for Socket

Methods: closeisConnectedshutdownInputshutdownOutput