Uf, taman sam se ponadao da ce medju ovim porukama biti neki odgovor, kad ono nista :)))
Ovako, to sto je go x predlozio sa pingom mi deluje stupidno, ali mislim da bi pomoglo,
doomed: dev c++ 5.0, mingw c/c++ kompajler
mikky: postoji funkcija za to ;) evo ti malo o njoj:
evo sta kaze msdn
Citat:
InetIsOffline Function Internet Development Index
--------------------------------------------------------------------------------
Determines whether the system is connected to the Internet.
Syntax
BOOL InetIsOffline( DWORD dwFlags
);
Parameters
dwFlags
Input flags for the function. This must be set to zero.
Return Value
Returns TRUE if the local system in not currently connected to the Internet. Returns FALSE if the local system is connected to the Internet or if no attempt has yet been made to connect to the Internet.
Function Information
Header intshcut.h
Import library url.lib
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows NT 4.0, Windows 95
a sto se tice toga u pozadin... pa ne zelim ga u task baru svakako!
Zelim da to bude odradjeno kao kod recimo icq ili jabber klijenata, znaci kad se okacis o net, a on ti podigne login prozor, ili se loguje sam, ili kako to vec ide...
Ivan Tanasic - Autoexes
>cd pub
>more beer