개요
TCPClientSocket 컴포넌트에서 요청된 작업이 실패했을 때 발생하는 이벤트에 전달되는 EventInfo 오브젝트입니다.
지원 환경
Desktop NRE | Desktop WRE | |||||
|---|---|---|---|---|---|---|
☑ Windows | ☐ macOS | ☐ Edge | ☐ Chrome | ☐ Safari | ☐ Firefox | ☐ Opera |
Mobile NRE | Mobile WRE | |||||
☐ Android | ☐ iOS/iPadOS | ☐ Android | ☐ iOS/iPadOS | |||
속성
errormsg
발생한 에러에 대한 에러메시지값을 갖는 읽기전용 속성입니다.
지원 환경
Desktop NRE | Desktop WRE | |||||
|---|---|---|---|---|---|---|
☑ Windows | ☐ macOS | ☐ Edge | ☐ Chrome | ☐ Safari | ☐ Firefox | ☐ Opera |
Mobile NRE | Mobile WRE | |||||
☑ Android | ☐ iOS/iPadOS | ☐ Android | ☐ iOS/iPadOS | |||
속성 타입
☐ Enum | ☐ Expr | ☐ Control | ☐ Hidden | ☑ ReadOnly | ☐ Bind | ☐ Collection | ☐ StringResource |
문법
SocketErrorEventInfo.errormsg
문법 설정
"1" | Interrupted function call | |
|---|---|---|
"2" | Bad socket | |
"3" | Permission denied | |
"4" | Bad address | |
"5" | Invalid argument | |
"6" | Too many open files(sockets) | |
"10" | Socket operation on non-socket | |
"11" | Destination address required | |
"12" | Message too long | |
"19" | Address family not supported by protocol | |
"21" | Cannot assign requested address | |
"22" | Network is down | |
"23" | Network is unreachable | |
"24" | Network dropped connection because of reset | |
"25" | Software caused connection abort | |
"26" | Connection reset by peer | |
"27" | No buffer space available | |
"28" | Transport endpoint is already connected | |
"29" | Transport endpoint is not connected | |
"30" | Cannot send after transport endpoint shutdown | |
"32" | Connection timed out | |
"33" | Connection refused | |
"36" | Host is down | |
"37" | No route to host | |
"99" | Generic Error | |
참고
- 에러 메시지는 운영체제 레벨에서 제공되는 시스템 메시지를 사용합니다. 따라서, 운영체제의 버전에 따라 에러 메시지가 달라질 수 있습니다.
eventid
이벤트의 ID를 갖는 읽기전용 속성입니다.
지원 환경
Desktop NRE | Desktop WRE | |||||
|---|---|---|---|---|---|---|
☑ Windows | ☐ macOS | ☐ Edge | ☐ Chrome | ☐ Safari | ☐ Firefox | ☐ Opera |
Mobile NRE | Mobile WRE | |||||
☑ Android | ☐ iOS/iPadOS | ☐ Android | ☐ iOS/iPadOS | |||
속성 타입
☐ Enum | ☐ Expr | ☐ Control | ☐ Hidden | ☑ ReadOnly | ☐ Bind | ☐ Collection | ☐ StringResource |
문법
SocketErrorEventInfo.eventid
문법 설정
var strEventid = e.eventid; |
참고
- 이벤트에 핸들러로 등록된 함수의 이름이 아닌 발생한 이벤트명을 갖습니다.
statuscode
발생한 에러에 대한 에러코드값을 갖는 읽기전용 속성입니다.
지원 환경
Desktop NRE | Desktop WRE | |||||
|---|---|---|---|---|---|---|
☑ Windows | ☐ macOS | ☐ Edge | ☐ Chrome | ☐ Safari | ☐ Firefox | ☐ Opera |
Mobile NRE | Mobile WRE | |||||
☑ Android | ☐ iOS/iPadOS | ☐ Android | ☐ iOS/iPadOS | |||
속성 타입
☐ Enum | ☐ Expr | ☐ Control | ☐ Hidden | ☑ ReadOnly | ☐ Bind | ☐ Collection | ☐ StringResource |
문법
SocketErrorEventInfo.statuscode
문법 설정
"1" | Interrupted function call | |
|---|---|---|
"2" | Bad socket | |
"3" | Permission denied | |
"4" | Bad address | |
"5" | Invalid argument | |
"6" | Too many open files(sockets) | |
"10" | Socket operation on non-socket | |
"11" | Destination address required | |
"12" | Message too long | |
"19" | Address family not supported by protocol | |
"21" | Cannot assign requested address | |
"22" | Network is down | |
"23" | Network is unreachable | |
"24" | Network dropped connection because of reset | |
"25" | Software caused connection abort | |
"26" | Connection reset by peer | |
"27" | No buffer space available | |
"28" | Transport endpoint is already connected | |
"29" | Transport endpoint is not connected | |
"30" | Cannot send after transport endpoint shutdown | |
"32" | Connection timed out | |
"33" | Connection refused | |
"36" | Host is down | |
"37" | No route to host | |
"99" | Generic Error | |