I am developing an irc bot and i am making the DCC part thing. I need to check if a given port is being used or not.
Is there any built in function to check that? Thanks