i trying send http request abstract unix socket within android application, using localsocket gives java.io.ioexception: broken pipe. status of isconnected() true @ same time , have confirmed request send correct forwarding port using adb , making same request using netcat.
localsocket receiver = new localsocket(); receiver.connect(new localsocketaddress("chrome_devtools_remote", localsocketaddress.namespace.abstract)); inputstream input = receiver.getinputstream(); stringbuilder request = new stringbuilder().append("get /json http/1.0") receiver.getoutputstream().write(request.tostring().getbytes()); unable figure out what's going wrong. appreciated, in advance.
Comments
Post a Comment