UDPPut Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
UDPPut Function
C
BOOL UDPPut(
    BYTE v
);
Description

This function writes a single byte to the currently active UDP socket, while incrementing the buffer length. UDPIsPutReady should be used before calling this function to specify the currently active socket.

Preconditions

UDPIsPutReady() was previously called to specify the current socket.

Parameters
Parameters 
Description 
The byte to be loaded into the transmit buffer. 
Return Values
Return Values 
Description 
TRUE 
The byte was successfully written to the socket. 
FALSE 
The transmit buffer is already full and so the write failed. 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.