At 4/19/2005 11:24 AM, Ehsan Akhgari wrote:

>I'm looking for a way (either programatically, or by running a command
>which can be used in system() for example) to shut down IP services on a
>connection without disconnecting it.
>
>Let me elaborate.  I'm having a case when a RAS dial-up connection is
>dialed (using the rasdial command, but it doesn't matter) and a
>connection is established, on which IP is enabled, which allows
>communication using the TCP/IP protocol.  Now, after some time, I want
>to shut down the IP services on that connection, and again enable it
>after some time when the need arises.  During all this time, the
>connection must physically remain connected.

Could you set up a "receive" on that connection and throw away the data?

Phil Daley          < AutoDesk >
http://www.conknet.com/~p_daley




_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.

Reply via email to