Code example for Socket

Methods: getInputStreamgetLocalAddressgetLocalPortgetOutputStream