阅读背景:

如果程序终止,如何关闭端口?

来源:互联网 

I am using Socket communication in one of my Java applications.As I know if the program meets any abnormal termination the listening ports does not get closed and the program cannot be started back because it reports "Port already open.." Do I have anyway to handle this problem? What is the general way used to handle this matter?I am using Socket communication in one of my Ja




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: