Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > Swing > Swing HSMS Reference > Methods > Disconnect

Swing HSMS Reference   

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

Disconnect Method

Disconnect specified connection. This method is used for server side.

Syntax

Visual Basic

Function Disconnect(pszIPAddress As String, lPortNumber As Long) As Boolean


Visual C++

BOOL Disconnect(LPCTSTR pszIPAddress,long lPortNumber)


ArgumentDescription
pszIPAddressIP address to disconnect.
lPortNumberTCP port number to disconnect.

Return Value

Example

Visual Basic

.Disconnect "", 5000


Visual C++

m_hsms.Disconnect("",5000);

Remarks

See Also

Contact us?   JazzSoft@live.com
  Copyright © 1997 - 2018 Jazz Soft, Inc.