Click here to Skip to main content
15,926,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStopping a Mouse Click from changing keyboard focus Pin
fluxt3-Jul-03 4:03
fluxt3-Jul-03 4:03 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
basementman3-Jul-03 4:40
basementman3-Jul-03 4:40 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
fluxt3-Jul-03 5:07
fluxt3-Jul-03 5:07 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:42
professionalRage3-Jul-03 5:42 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:46
professionalRage3-Jul-03 5:46 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
fluxt3-Jul-03 5:48
fluxt3-Jul-03 5:48 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:53
professionalRage3-Jul-03 5:53 
GeneralRe: Stopping a Mouse Click from changing keyboard focus Pin
Rage3-Jul-03 5:55
professionalRage3-Jul-03 5:55 
GeneralRetrieving internet connection ip in LAN Pin
Kuniva3-Jul-03 4:02
Kuniva3-Jul-03 4:02 
GeneralRe: Retrieving internet connection ip in LAN Pin
valikac3-Jul-03 7:35
valikac3-Jul-03 7:35 
GeneralRead/Write a monochrome image to/from a .bmp file Pin
Neha3-Jul-03 3:22
Neha3-Jul-03 3:22 
GeneralRe: Read/Write a monochrome image to/from a .bmp file Pin
Rage3-Jul-03 5:50
professionalRage3-Jul-03 5:50 
GeneralGetting data into combo boxes Pin
keegan3-Jul-03 2:25
keegan3-Jul-03 2:25 
GeneralRe: Getting data into combo boxes Pin
Cedric Moonen3-Jul-03 2:39
Cedric Moonen3-Jul-03 2:39 
GeneralRe: Getting data into combo boxes Pin
David Crow3-Jul-03 2:59
David Crow3-Jul-03 2:59 
GeneralRe: Getting data into combo boxes Pin
Rage3-Jul-03 3:02
professionalRage3-Jul-03 3:02 
GeneralRe: Getting data into combo boxes Pin
keegan3-Jul-03 3:25
keegan3-Jul-03 3:25 
GeneralRe: Getting data into combo boxes Pin
Cedric Moonen3-Jul-03 3:39
Cedric Moonen3-Jul-03 3:39 
GeneralRe: Getting data into combo boxes Pin
keegan3-Jul-03 3:56
keegan3-Jul-03 3:56 
Generalobject drawing Pin
jotham3-Jul-03 2:09
jotham3-Jul-03 2:09 
GeneralRe: object drawing Pin
Member 4242593-Jul-03 2:52
Member 4242593-Jul-03 2:52 
GeneralRe: object drawing Pin
basementman3-Jul-03 4:42
basementman3-Jul-03 4:42 
QuestionHow to detect Internet connection Pin
HemantR...3-Jul-03 1:44
HemantR...3-Jul-03 1:44 
AnswerRe: How to detect Internet connection Pin
Ryan Binns3-Jul-03 1:50
Ryan Binns3-Jul-03 1:50 
raghute_h wrote:
How can i detect the live internet connection?

There are a couple of ways. One is to detect when a modem dials, but that only works for dial-up connections. For LAN connections, you can try to connect to a remote system, eg. Ping a server that you know exists. It you can get to the server, then the internet connection is active. If you can't it doesn't necessarily mean that the connection is not active - the server might be down, so you have to ping a few servers, such as microsoft, google, yahoo, msn etc. If all of them don't work, then you can reasonably assume that the internet connection is not working. If one of them works, then the connection is definitely working.

Hope this helps,

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

AnswerRe: How to detect Internet connection Pin
David Crow3-Jul-03 3:00
David Crow3-Jul-03 3:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.