From: CppBuilder2006 on 7 Jan 2010 19:32 I need an API function for disconnecting from internet.
From: David Schwartz on 7 Jan 2010 23:02 On Jan 7, 4:32 pm, CppBuilder2006 <cppbuilder2...(a)gmail.com> wrote: > I need an API function for disconnecting from internet. It's not clear what that means. Define precisely what you want to do. For example, would deleting the default route do what you want? Would shutting down the interface? DS
From: Christian ASTOR on 8 Jan 2010 02:08 On 8 jan, 01:32, CppBuilder2006 <cppbuilder2...(a)gmail.com> wrote: > I need an API function for disconnecting from internet. You can use INetConnection::Disconnect()
From: CppBuilder2006 on 8 Jan 2010 10:20 On Jan 8, 7:02 am, David Schwartz <dav...(a)webmaster.com> wrote: > On Jan 7, 4:32 pm, CppBuilder2006 <cppbuilder2...(a)gmail.com> wrote: > > > I need an API function for disconnecting from internet. > > It's not clear what that means. Define precisely what you want to do. > > For example, would deleting the default route do what you want? Would > shutting down the interface? > > DS I need something like this: while(1) { bool is_connected = IsConncedted(); if(is_connected && time > Time("12:00") { Disconnect(); cout<< "Go to bed, it's tool late"; } }
|
Pages: 1 Prev: ETW/WPP Logging issue Next: Vector of Pointers Not working |