TCP클라이언트 » Event

on_close

Description

세션 해제시 이벤트

Parameters

Parameters Type Description
objInst INSTANCE 컴포넌트 인스턴스
nEventId long 세션 해제 원인 코드
strEventMsg STRING 세션 해제 오류 메시지

Return Value

Type Description
void

Example

function tcpclt01_on_close(objInst, nEventId, strEventMsg)
{
	// 세션 연결 해제
	screen.alert(objInst.getname() + "_on_close : " + nEventId + ", " + strEventMsg);
}

Viewer Ver.

9.1.1.1

Update Date

20231106