TIdTCPServer form Indy - BindHello,, , I am trying to build a TCP server with the TIdTCPServer component from INDY. I want to use the BIND property , but It does not seem to work. , , I am using a file containing IP addresses which I want to bind. , , My code looks like this:, , while not Eof(lh_config) do, begin, readln(lh_config, ls_line); , TelnetServer.Bindings.Add;, TelnetServer.Bindings.Item[i].IP :=ls_line;, TelnetServer.Bindings.Items[i].Port := , StrToInt(gb_TELNETPort);, TelnetServer.Bindings.Items , [i].AllocateSocket(3,255); , TelenetServer.Bindings.Items, [i].Bind , inc(i);, end;, , when it tries to execute the bind procedure it outputs an error 10038 and closes the connection., , What am I doing wrong?, , Thank you in advance,, , Katerina  Hudson101.h | Pokemon Go fine-tuned variation is available in this app and also tutu app not working Online Movies Download and install: Terrarium TV Apk, Flick HD Apk.
|
|