svnno****@sourc*****
svnno****@sourc*****
2010年 8月 6日 (金) 01:07:11 JST
Revision: 3968 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3968 Author: yutakapon Date: 2010-08-06 01:07:10 +0900 (Fri, 06 Aug 2010) Log Message: ----------- ã½ã±ããã®äºéã¯ãã¼ãºãããªãããã«ããã Modified Paths: -------------- trunk/teraterm/teraterm/commlib.c trunk/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/commlib.c =================================================================== --- trunk/teraterm/teraterm/commlib.c 2010-08-05 10:07:46 UTC (rev 3967) +++ trunk/teraterm/teraterm/commlib.c 2010-08-05 16:07:10 UTC (rev 3968) @@ -545,6 +545,7 @@ if ( (ts->PortType==IdTCPIP) && cv->Open ) { if ( cv->s!=INVALID_SOCKET ) { Pclosesocket(cv->s); + cv->s = INVALID_SOCKET; /* \Pbg³øÌóðt¯éB(2010.8.6 yutaka) */ } FreeWinsock(); } Modified: trunk/teraterm/teraterm/vtwin.cpp =================================================================== --- trunk/teraterm/teraterm/vtwin.cpp 2010-08-05 10:07:46 UTC (rev 3967) +++ trunk/teraterm/teraterm/vtwin.cpp 2010-08-05 16:07:10 UTC (rev 3968) @@ -2724,6 +2724,7 @@ // CloseSocket()ðÄѽ¢ªA±±©çÍÄ×È¢ÌÅA¼ÚWin32APIðR[·éB if (!cv.Ready) { closesocket(cv.s); + cv.s = INVALID_SOCKET; /* \Pbg³øÌóðt¯éB(2010.8.6 yutaka) */ //::PostMessage(HVTWin, WM_USER_COMMNOTIFY, 0, FD_CLOSE); } }