Android Question Socket and Orbot

fransvlaarhoven

Active Member
Licensed User
Longtime User
Hello,

I have installed Orbot (Tor project) on an android Phone

as far as know:
- Tor offers it's SOCKS proxy on port 9050
- Tor offers a transparant proxy on port 9040

when i do

Dim mysocket As Socket
mysocket.Initialize("mysocket")
mysocket.Connect(myServerName, myServerPort, servertimeOut)

is it possible to connect the socket using proxy provided by TOR instead of the normal connection?
 

fransvlaarhoven

Active Member
Licensed User
Longtime User
this will not work in the application because i must have a strict control over the bytes sended to the server.
The only way I know is using sockets but it might be there is another way?
 
Upvote 0

fransvlaarhoven

Active Member
Licensed User
Longtime User
I've already done that, without proxy and it is not working, the server expects certain messages and is not able to handle requests in the format of a HTTP-request
 
Last edited:
Upvote 0

fransvlaarhoven

Active Member
Licensed User
Longtime User
then, how must i build the HTTP-request in order to make sure that no request method, empty lines, header fields etc are sended to the server but only the bytes that i want to send?
 
Upvote 0
Top