SOCKS Proxy Connection in iOS Application

How to connect SOCKS Proxy connection in iOS I can connect to SOCKS Proxy Server through Simulator when using System network settings. I tried ASIHTTPRequest, but Falied. Here is my sample ASIHTTPRequest code

NSURL * url = [NSURL URLWithString: @ "my working URL in the browser"];

ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url]; [request setProxyHost:@"aa.bb.c.dd"]; [request setProxyUsername:@""]; [request setProxyPassword:@""]; [request setProxyPort:12345]; [request setDelegate:self]; [request startAsynchronous]; 

I want to connect and use the SOCKS proxy connection and web service in my application on the device. Thanks in advance.

+4
source share
1 answer

proxychains can help you run the application in android using the socks proxy. This is a c-library and the overload of connect () of the glibc routine. Thus, any application requesting a tcp connection goes through it.

I am running my applications using this. for example, "proxychains java someclass".

0
source

Source: https://habr.com/ru/post/1499320/


All Articles