Socket « javax.net « Java by API






1.new Socket(String addr,int port)
2.Socket: getInputStream()
3.Socket: getOutputStream()