Jazz Soft 您要聯絡嗎?   JazzSoft@live.com     繁體字漢語   英語  日語  繁體字漢語  簡體字漢語
提供半導體工廠自動化與生産效率改善法 
Skip Navigation Links首頁 > 產品一覽 > Swing > Swing HSMS 詳細資料 > Events > Errors

Jazz Soft has been moved from Japan to New York in 2024.

Swing HSMS 詳細資料   

Properties
Active
Appearance
BorderStyle
IniFile
IniSection
IPAddress
LocalPortNumber
Log
LogFile
MaxLength
PortNumber
Selected
Server
Show
T3
T5
T6
T7
T8

Methods
Config
ConvertIPAddress
Disconnect
GetHostName
LoadIni
Send

Events
Connected
Errors
Read
SelConnection

Errors Event

This event occurs at communication error.

Syntax

Visual Basic

Sub Errors(pszIPAddress As String, lPortNumber As Long, sError As Integer, pszInfo As String)


Visual C++

void OnErrors(LPCTSTR pszIPAddress, long lPortNumber, short sError, LPCTSTR pszInfo)


ArgumentDescription
pszIPAddressIP address of message sender.
lPortNumberTCP port number of message sender.
sErrorError code. (see below)
pszInfoAdditional information. This argument can not be used now.

Return Value

Example

Visual Basic



Visual C++


Remarks

Errors from Swing

Error CodeDescription
-1Cannot send out message.
-2Received message longer than MaxLength Proerty.
-3(Not in use)
-4T8 time out.
-5T3 time out.
-6T5 time out.
-7T6 time out.
-8T7 time out.

Errors from WinSock

Error CodeDefinitionDescription
10093WSANOTINITIALISEDSocket has not been initialized.
10050WSAENETDOWNNetwork subsystem error.
10048WSAEADDRINUSESocket local address is in use.
10014WSAEFAULTInvalid user address (like invalid character).
10036WSAEINPROGRESSService provider is in progress.
10049WSAEADDRNOTAVAILRemote address can not be available.
10047WSAEAFNOSUPPORTCannot use specified address family for this socket.
10061WSAECONNREFUSEDConnection has been refused.
10039WSAEDESTADDRREQ?
10022WSAEINVALInvalid listening socket.
10056WSAEISCONNAlready connected.
10024WSAEMFILE?
10051WSAENETUNREACHCannot reach to network.
10055WSAENOBUFSBuffer size is not enough.
10038WSAENOTSOCKNot a socket.
10060WSAETIMEDOUTTime out before established connection.
10035WSAEWOULDBLOCKCannot execute right now.

See Also

您要聯絡嗎?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.