Problem with TClientSocket

Please discuss general Delphi programming topics here.

Problem with TClientSocket

Postby Sepidar » June 27th, 2004, 2:31 pm

Hi,

In a program i'm using TClientSocket component to access a server (witch i have developed it myself) through the internet. (Port 6257 and setting address at run time)
In the Server side i use a TServerSocket component, with port 6257 and a true value for Active property.
problem is here:
when i run both server and client in a computer (using address 127.0.0.1=localhost) there is no problem, but when i put server in another computer (whitch i know the IP address) and i try to connect to server, a time out error ocuurs (code 10060).

thax
and excuse me because of my bad english
Sepidar
Member
Member
 
Posts: 1
Joined: June 9th, 2004, 5:06 am

Postby Kambiz » June 27th, 2004, 10:13 pm

Hi,

Maybe the port is closed by a firewall.

Cheers,
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 5 guests

cron