Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

tcp/ip

Posted on 2000-03-04
3
Medium Priority
?
164 Views
Last Modified: 2010-04-04
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.
0
Comment
Question by:rihab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Expert Comment

by:johnwa
ID: 2599388
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.
0
 

Author Comment

by:rihab
ID: 2608997
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 !).
0
 

Accepted Solution

by:
johnwa earned 100 total points
ID: 2618981
try to edit the file:"hosts" in your \windows\,add the following:

ComputerName  YourIP

  the computername is you computer name,and the IP is you IP.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question