Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > Savoy > Savoy Socket Reference > Properties > Server

Dorian.Core is added. Dorian now supports .NET 6 and 7.

Savoy Socket Reference   

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

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