close PORTs

Mar 23 2006 2:16 PM
hi friends,
how can i close (virtual )ports in my computer by using programming language?
please be quick..