I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi Internet Solutions Topic   Print This     

TIdTCPServer form Indy - Bind

TIdTCPServer form Indy - Bind in Delphi Internet Solutions topic (part of our Pascal and Delphi Coding group).

Quick Search: TIdTCPServer   TIdTCPServer form   TIdTCPServer form Indy  
Len
 (Inactive)
seattle
Hello,

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.IP :=ls_line;
TelnetServer.Bindings.Items.Port :=
StrToInt(gb_TELNETPort);
TelnetServer.Bindings.Items
.AllocateSocket(3,255);
TelenetServer.Bindings.Items
.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
 Posted 18 years ago (Thread Starter)
Comment Quote
About Len -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #2859, 2 replies
Thread Started 7/5/2001 7:24:00 AM
View Counter=2703
Last Reply Posted 6/26/2017 11:33:55 PM)
Location=seattle  
Joined=17 years ago   MB Posts=13  
Brenda.J
ABB
-- --

good Scratch apple understands that the iTunes user interface itunes store loading display progress bar for a couple of minutes  nice. 

 Posted 27 months ago
Comment Quote
About Brenda.J -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #15514 (Level 2) and Parent is 2859
Reply Posted 2/20/2017 1:06:53 AM
Location=-- -- 
Joined=27 months ago   MB Posts=1  
Most Recent Post
PS_149
IA AZ

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.

 Posted 23 months ago
Comment Quote
About PS_149 -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16768 (Level 3) and Parent is 2859
Reply Posted 6/26/2017 11:33:17 PM
Location=IA AZ 
Joined=23 months ago   MB Posts=1  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1261A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #2859 Counter
2703
Since 4/2/2008
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech