Thanks Salem.
Hi Gavin,
Your assumptions are right. It is not my code. It is a third party tool. It is register for the port# 1404.
I just wanted to find out, whether the port is active and my application is listening to that port.
I'm not that good at networking, so I'm not able to explain it it more technical terms.
Hope your understood my requirement.
Thanks.
SSK