how to dectect port (e.g 5001) is listening? |
|
memehy
一般會員 發表:13 回覆:1 積分:2 註冊:2004-10-31 發送簡訊給我 |
I use ServerSocket to wirte a server application, I use port 5001 in server side and listening. but some time the server pc is down and sometime ok, i just want to check the port 5001 to see it is open or no, if open then I can connect it automaticcally, if not I just keep check the port 5001 of server pc by using clientsocket unit is open. thanks
------
memehy |
暗黑破壞神
版主 發表:9 回覆:2301 積分:1627 註冊:2004-10-04 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |