beautypg.com

Solvline Eddy DK User Manual

Page 112

background image

Eddy DK Programmer Guide

112

SB_SendUdpClient

Function

Transmit data to UDP socket (Client mode)

Format

Int SB_SendUdpClient (int Handle, char *Buffer, int Data_Size,
Char *IP_Address, int Socket_No);

Parameter

Handle
Buffer
Data_Size
IP_Address
Socket_No

Handle number bound to UDP socket.
Buffer point where packet data to be sent is saved.
Size of the buffer to send.
IP address to send data to.
Socket number to send data to.

Returns

None

Notice

This function can be used when user already knows destination network
information to send data to using UDP socket.
When data transmission has to be made first, user has to use
SB_SendUdpClient function..