"Eitan M" <no_spam_please@nospam_please.com> wrote in message
news:(E-Mail Removed)...
> Hello.
>
> On some of my program I do some checking,
> and due that the port is openned.
> I want to close a port from a command line (*.bat or *.cmd file)
> that I shouldn't reboot my computer every time the port is oppened.
>
> How can I do that ?
>
> Thanks
You are best to ask on a developer forum. Generally speaking, opening
_anything_ returns a handle/value/number that you can use to refer to
whatever you opened and to close it when needed.
-S-