Code example for Socket

Methods: closeisConnectedisInputShutdownisOutputShutdownshutdownInputshutdownOutput