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 > Events > Connected

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

Connected Event

This event occurs when connection has been established. On server side, connection has not been established whatever Active Property is True. It will have been established connection after client connects to server.

Syntax

Visual Basic

Sub Connected(pszIPAddress As String, lPortNumber As Long, bConnect As Boolean)


Visual C++

void OnConnected(LPCTSTR pszIPAddress, long lPortNumber, BOOL bConnect)


ArgumentDescription
pszIPAddressIP address of message sender.
lPortNumberTCP port number of message sender.
bConnectIf True, it means established connection. If false, it means disconnected.

Return Value

Example

Visual Basic



Visual C++


Remarks

See Also

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