Link to home
Create AccountLog in
Avatar of rihab
rihab

asked on

tcp/ip

i use serversocket and clientsocket components in delphi 5 to establish aconnection but the connection takes
alot of time (1min). what causes this delay although the connection is in one pc .what about the ports is their value affect(i use 1000,2000,50)to examine.
Avatar of johnwa
johnwa

1.Does your computer have installed the tcp/ip protocol .
2.what ip you set in your serversocket and clientsocket components ? if you use them in the same computer,you had better set to 127.0.0.1.
Avatar of rihab

ASKER

the tcp/ip is installed , the connection is done but it is very slow comparing with other programs written in Delphi and work in the same lan(take few sec only !).
ASKER CERTIFIED SOLUTION
Avatar of johnwa
johnwa

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer