Jazz Soft 您要联络吗?   JazzSoft@live.com     简体字汉语   英语  日语  繁体字汉语  简体字汉语
提供半导体工厂自动化与生产效率改善法 
Skip Navigation Links首页 > 产品一览 > Savoy > Savoy Socket 详细资料 > Properties > Server

Savoy Socket 详细资料   

Properties
Appearance
BorderStyle
Connect
IniFileName
IniSection
IPAddress
MyPortNumber
PortNumber
Server

Methods
AboutBox
Disconnect
LoadIniFile
Send
Setup

Events
Connected
Disconnected
Problem
Received

Server Property

Gets or sets the entity type. If Server property is true, SavoySocket control will run as server. If Server property is false, SavoySocket control will run as client.

ValueDescription
FalseClient
TrueServer

Syntax

Visual Basic

Server As Boolean


Visual C++

BOOL GetServer()
void SetServer(BOOL)

Return Value

Example

Visual Basic

.Server = True ‘ Server
.Server = False ‘ Client


Visual C++

m_ctrl.SetServer(true); // Server
m_ctrl.SetServer(false); // Client

Remarks

Persistent property.

See Also

您要联络吗?   JazzSoft@live.com
  Copyright © 1997 - 2018 Jazz Soft, Inc.