s = new java.net.Socket("localhost", 256) s << "hello socket world" s.close()