function tcpsvr01_on_close(objInst, strRemoteIP, nRemotePort, strSocketKey)
{
// 세션 연결 해제
var i, nRowCount;
factory.consoleprint("OnClose> strRemoteIP = " + strRemoteIP);
factory.consoleprint("OnClose> nRemotePort = " + nRemotePort);
factory.consoleprint("OnClose> strSocketKey = " + strSocketKey);
nRowCount = grdSessionList.getrowcount();
for (i = 0; i < nRowCount; i++) {
if (grdSessionList.getitemtext(i, 0) == strRemoteIP) {
if (grdSessionList.getitemtext(i, 1) == nRemotePort) {
grdSessionList.deleterow(i);
break;
}
}
}
}