471,330 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Knowing if your connection failed


I am writing a application that sync out contacts in our system with
outlook.What I have to take in account is to show a message if the user
took his Laptop to home.Because this will mean his offline.Can anyone
help me find a way to know if the user is offline or online.I make a
call: dataService.CreateConnection("Server", "Database", 200); So if
the connection fails I want to show message.On the moment the timeout
is set to 30 and it will take a while before it will fail.I want it
faster without setting the timeout.Does anyone know of a solution?

Thank you

Jan 19 '06 #1
0 789

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Fortepianissimo | last post: by
reply views Thread by xristoph | last post: by
2 posts views Thread by Dennis | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.