Click to See Complete Forum and Search --> : Dial up connection


May 9th, 1999, 06:56 PM
Hi guru,
I tried to use the C function 'gethostbyname()' to get the local host name. If the modem
is not connected to the internet, the system will pop up the dial-up dialog to ask you
to connect, but if I choose 'concel', the system will halt about 3 minutes then
return the control to the C program, my question is how to control the dial-up dialog so
it will return to the C program immediately if I choose 'cancel'. Thanks in advance.
Cepheid