UseTCP Property

Whether to use TCP.

Syntax

ANSI (Cross Platform)
int GetUseTCP();
int SetUseTCP(int bUseTCP); Unicode (Windows) BOOL GetUseTCP();
INT SetUseTCP(BOOL bUseTCP);
@property (nonatomic,readwrite,assign,getter=useTCP,setter=setUseTCP:) BOOL useTCP;
- (BOOL)useTCP;
- (void)setUseTCP:(BOOL)newUseTCP;
#define PID_SYSLOG_USETCP 15

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SysLog_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SysLog_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

This property specifies whether TCP is used. By default this proprety is False and UDP is used. When set to True TCP will be used as the underlying protocol.

When set to True the following additional settings are also applicable:

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]