Code example for Socket

Methods: bindcloseconnectgetInputStreamsetSoTimeout