TCP클라이언트 » Event

on_open

Description

TCP서버에 연결시 이벤트

Parameters

Parameters Type Description
objInst INSTANCE 컴포넌트 인스턴스
nLocalPort short 로컬 포트

Return Value

Type Description
void

Example

function tcpclt01_on_open(objInst, nLocalPort)
{
	// 세션 연결됨
	factory.consoleprint("OnConnect> nLocalPort = " + nLocalPort);
}

Viewer Ver.

9.1.1.1

Update Date

20231106