WebSocketConnectionBytesSent Property
This property shows how many bytes were sent after the last assignment to DataToSend .
Syntax
ANSI (Cross Platform) int GetWebSocketConnectionBytesSent(int iConnectionId); Unicode (Windows) INT GetWebSocketConnectionBytesSent(INT iConnectionId);
- (int)webSocketConnectionBytesSent:(int)connectionId;
#define PID_WEBSOCKETSERVER_WEBSOCKETCONNECTIONBYTESSENT 4 IPWORKSWS_EXTERNAL void* IPWORKSWS_CALL IPWorksWS_WebSocketServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketServer_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
This property shows how many bytes were sent after the last assignment to WebSocketConnectionDataToSend. Please check WebSocketConnectionDataToSend for more information.
Note that this property will always return 0 when the class is operating in synchronous mode (that is, the Timeout property is set to a positive value.)
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the WebSocketConnectionCount property.
This property is read-only and not available at design time.
Data Type
Integer