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 - 2025 Jazz Soft, Inc.