SSLTxRecord Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SSLTxRecord Function
C
void SSLTxRecord(
    TCP_SOCKET hTCP, 
    BYTE sslStubID, 
    BYTE txProtocol
);
Description

Transmits all pending data in the TCP TX buffer as an SSL record using the specified protocol. This function transparently encrypts and MACs the data if there is an active cipher spec.

Preconditions

The specified SSL stub is initialized and the TCP socket is connected.

Parameters
Parameters 
Description 
hTCP 
The TCP socket with data waiting to be transmitted 
id 
The active SSL stub ID 
txPortocol 
The SSL protocol number to attach to this record 
Returns

None

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.