Code example for Socket

Methods: isBoundisClosedisConnectedisInputShutdownisOutputShutdown