🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
4 messages
4 total messages Started by Bashar T Mon, 26 May 2008 21:23
How can I scan my LAN to see If the Server is active or not
#111
Author: Bashar T
Date: Mon, 26 May 2008 21:23
3 lines
1168 bytes
I use IdTCPClient and IdTCPServer in a programe run in LAN
How can I scan my LAN to see If the Server is active or not.
the IP 192.168.0.1  ...................................... 192.168.0.12 
Re: How can I scan my LAN to see If the Server is active or not
#115
Author: Remy Lebeau (TeamB)
Date: Tue, 27 May 2008 20:32
13 lines
1338 bytes
"Bashar T" <bashar-t@scs-net.org> wrote in message 
news:483b2a64@newsgroups.borland.com...

> I use IdTCPClient and IdTCPServer in a programe run
> in LAN How can I scan my LAN to see If the Server is
> active or not.

The best way is to simply try to connect to the server normally and see if 
it suceeds or fails.


Gambit 
Re: How can I scan my LAN to see If the Server is active or not
#118
Author: Bashar T
Date: Wed, 28 May 2008 13:02
11 lines
1242 bytes
> The best way is to simply try to connect to the server normally and see if
> it suceeds or fails.
>


How can I try to connect without get the error message

Socket Error #10060 Connection timed out

I without freeze  my program freeze
Re: How can I scan my LAN to see If the Server is active or not
#122
Author: Remy Lebeau (TeamB)
Date: Wed, 28 May 2008 18:46
10 lines
1329 bytes
"Bashar T" <bashar-t@scs-net.org> wrote in message 
news:483d5f5a@newsgroups.borland.com...

> How can I try to connect without get the error message

Use a try..catch block.


Gambit 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads