BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

exception lan down

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
MrT
Guest





PostPosted: Mon Dec 15, 2003 8:24 pm    Post subject: exception lan down Reply with quote



Hi:

ws1 win2k

ws2 win2k

ws3 win98

server linux

server win2k

I have an inerbase db on my network (on local development machine
right now) Where the db is installed, installed with it is a little
service which respondes to:


MainDM->UDPClient->Broadcast("QUERY", 8092);

and tells tha app where it is so the app can connect. This is to avoid
set up. Install app and start and it finds its db on the network.

I am rewiring (for increased load capacity) my outlets in my server room
so I shut them all down.

The lan is down as indicated by a little icon in the task bar.

The code snippit above produces a 10065 error.

Since the database and the service are on the same machine as the app it
shoudl be available but never gets to querying the local machine.

Why woudld udpclient->broadcast throw an exception just because the lan
is down????

Thanks.

Best regards

Back to top
CheshireCat
Guest





PostPosted: Thu Dec 18, 2003 8:50 am    Post subject: Re: exception lan down Reply with quote



Quote:
Why woudld udpclient->broadcast throw an exception just because the lan
is down????

Thanks.

Best regards

I assume it's because it's only broadcasting to the LAN side of the

connection, which doesn't exist, and not to the loopback address 127.0.0.1.
I got the same result when I cobbled together a small test application.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.