Hallo Leute,
ich habe ein Problem mit einer Verbindung über den Proxy hinter welchem ich sitze. Mein Code sieht wie folgt aus:
Code
HttpSetProxy(0) ;Proxy!
TCPStartup()
Local $sGet = "", $sHost = "", $iSocket = 0, $sReferer = "", $bRecv = Binary(""), $sRecv = ""
$sGet = '/3/search/movie?api_key=' & $iniread_TMDB & '&query=' & $splitTitle & '&year=' & $splitYear & '&language=' & $iniread_Language
$sHost = TCPNameToIP("api.themoviedb.org")
MsgBox("", "", $sHost)
$iSocket = TCPConnect($sHost, 80)
Was funktioniert ist TCPNameToIP, ich komme also schon raus. TCPConnect macht aber dann nicht weiter und läuft in einen TimeOut (10060) ![]()
Was mache ich falsch? HttpSetProxy(0) sollte für die gesamte Session reichen?