Code example for Socket

Methods: hashCodegetInetAddressgetPort