Code example for Socket

Methods: closegetInputStreamgetOutputStream