Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delphi 3 Chat Demo Problem

43 views
Skip to first unread message

YuTian

unread,
May 29, 1998, 3:00:00 AM5/29/98
to

I've tried the delphi 3 chat demo(located in
delphi 3\demos\internet\chat).I runned it on two machines.
When I tried to connet to the listenning machine,I get an error
"Windows socket error: (10049),on API 'connect'"
Can someone help me?
Thanks.

David Stockton

unread,
May 29, 1998, 3:00:00 AM5/29/98
to

ErrCode = 10049 is

WSAEADDRNOTAVAIL - The specified address is not available from the local
computer.

The host you are trying to connect to is not available from your client
computer. Validate that you can reach the host machine by using PING. If
not, you have some network issues that need to be resolved before using
the chat demo.

YuTian

unread,
Jun 1, 1998, 3:00:00 AM6/1/98
to

Thank you for your answer.But my problem's still there.
I really can ping to the listenning host.
And other applications like MS Personnal Web Server are working
perfectly in our network.So the IP address should be available.
By the way, can you tell me where to find the meaning of the
ErrCode?Thanks again.

YuTian

unread,
Jun 3, 1998, 3:00:00 AM6/3/98
to

I wrote:
> I've tried the delphi 3 chat demo(located in
> delphi 3\demos\internet\chat).I runned it on two machines.
> When I tried to connet to the listenning machine,I get an error
> "Windows socket error: (10049),on API 'connect'"
> Can someone help me?
> Thanks.

In addition,the other delphi chat demo(located in
delphi 3\demos\internet\tcp) works(It use an
ActiveX component TTCP instead of the native socket
components).So there should be no problem with
the IP address I used in the first chat demo.Is anything
wrong with the TServerSocket or TClientSocket
component?
Please anybody tell me where the problem is.


Ihsan KARAGULLE

unread,
Jun 7, 1998, 3:00:00 AM6/7/98
to YuTian

yu must use IP adresss
change on FileConnectItemClick event
hosts:=Server -->this wrong
Address := Server;--> this true

Kevin

unread,
Jun 7, 1998, 3:00:00 AM6/7/98
to

Are you entering the Server Address? If so, try entering the Server's Name.
I entered the address and I received the 10049 error.

YuTian

unread,
Jun 8, 1998, 3:00:00 AM6/8/98
to

Got it! Thanks a lot.

0 new messages