Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disconnect connection?

0 views
Skip to first unread message

Vinit

unread,
Jul 29, 2006, 10:36:27 PM7/29/06
to
Hi

I have an application to which clients can connect using the
combination http://ip-address:port# .
I can detect which clients are connected to this application.
Could someone please guide with writing code which will disconnect a
connection given the ip-address. Since the server knows which client is
connected , this method should be able to disconnect the ones it doesn
want by knowing only the Ip-Address.
I am aware of socket programming but that is not what i want to do.
Any ideas folks?

Thanks for your help,
Vinit

chanmm

unread,
Jul 30, 2006, 7:27:01 AM7/30/06
to
Look for WMI and maybe issue a command line netstate in C# to chop the port.

chanmm

"Vinit" <vinit...@gmail.com> wrote in message
news:1154226987.2...@75g2000cwc.googlegroups.com...

Vinit

unread,
Jul 30, 2006, 1:35:17 PM7/30/06
to
Hi

I am naive into this.Really appreciate if you elaborate.

Thanks,
Vinit

0 new messages