i am developing a very basic webserver running on my mobile phone.
i am using socket connection to listen port 80.
on the other side i have an HTML site sending reqeust to my webserver via AJAX with open method
XMLHttpRequest.open('HEAD', 'http://127.0.0.1/' + cmd_txt,true);
My problem is that i cant receive any data in my webserver.
in = client.openInputStream();
ch = in.read();
How can i read incoming HTTP AJAX request with openInputStream or should ı use any other method?