DontRoute Property

If set to True, it forces the socket to send data directly to interface (no routing).

Syntax

ANSI (Cross Platform)
int GetDontRoute();
int SetDontRoute(int bDontRoute); Unicode (Windows) BOOL GetDontRoute();
INT SetDontRoute(BOOL bDontRoute);
@property (nonatomic,readwrite,assign,getter=dontRoute,setter=setDontRoute:) BOOL dontRoute;
- (BOOL)dontRoute;
- (void)setDontRoute:(BOOL)newDontRoute;
#define PID_ICMPPORT_DONTROUTE 4

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

Default Value

FALSE

Remarks

If this property is set to True, it forces the socket to send data directly to interface (no routing). Normally IP sockets send packets of data through routers and gateways until they reach the final destination. If this property is set to True, then data will be delivered on the local subnet only.

This property is not available at design time.

Data Type

Boolean

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