WIZlib Library API  ver 1.0
WIZlib Library API User Menual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
w5500/socket.c File Reference

Socket Driver Source File - For w5500. More...

#include "common/common.h"
Include dependency graph for w5500/socket.c:

Go to the source code of this file.

Functions

void device_init (uint8 *tx_size, uint8 *rx_size)
 Initialize the w5200 device. More...
 
void device_SW_reset (void)
 Reset w5200 device. More...
 
void device_mem_init (uint8 *tx_size, uint8 *rx_size)
 Initialize the Tx, Rx buffer size as per the channels. More...
 
void SetNetInfo (wiz_NetInfo *netinfo)
 This function set the network information. More...
 
void ClsNetInfo (netinfo_member member)
 Clear specific device address to zero. More...
 
void GetNetInfo (wiz_NetInfo *netinfo)
 This function get the network information. More...
 
void GetDstInfo (uint8 s, uint8 *dstip, uint16 *dstport)
 Get Destination Information. More...
 
void SetSocketOption (uint8 option_type, uint16 option_value)
 Set the network option. More...
 
int8 GetTCPSocketStatus (uint8 s)
 Get the TCP socket status. More...
 
int8 GetUDPSocketStatus (uint8 s)
 Get the UDP socket status. More...
 
uint16 GetSocketTxFreeBufferSize (uint8 s)
 Get the TX free buffer size. More...
 
uint16 GetSocketRxRecvBufferSize (uint8 s)
 Get the RX recv buffer size. More...
 
int8 TCPServerOpen (uint8 s, uint16 port)
 Open a TCP server socket. More...
 
int8 TCPClientOpen (uint8 s, uint16 sport, uint8 *dip, uint16 dport)
 Open a TCP client socket. More...
 
int8 TCPCltOpenNB (uint8 s, uint16 sport, uint8 *dip, uint16 dport)
 Open a TCP client socket without blocking. More...
 
int8 TCPConnChk (uint8 s)
 Check if a TCP Socket is connected. More...
 
int8 TCPClose (uint8 s)
 Close a TCP socket. More...
 
int8 TCPCloseNB (uint8 s)
 Close a TCP socket without blocking. More...
 
int8 TCPCloseCHK (uint8 s)
 Check if a TCP Socket is closed. More...
 
int8 TCPClsRcvCHK (uint8 s)
 Check TCP Connection Close which is not intentional. More...
 
int32 TCPSend (uint8 s, const int8 *buf, uint16 len)
 Send the data in TCP mode. More...
 
int8 TCPSendNB (uint8 s, const int8 *buf, uint16 len)
 Send the data in TCP mode without blocking. More...
 
int32 TCPReSend (uint8 s)
 Re-Send the data in TCP mode. More...
 
int8 TCPReSendNB (uint8 s)
 Re-Send the data in TCP mode without blocking. More...
 
int32 TCPSendCHK (uint8 s)
 Check if TCP Send action completed. More...
 
int32 TCPRecv (uint8 s, int8 *buf, uint16 len)
 Receive the data in TCP mode. More...
 
int8 UDPOpen (uint8 s, uint16 port)
 Open a UDP socket. More...
 
int8 UDPClose (uint8 s)
 Close a UDP socket. More...
 
int32 UDPSend (uint8 s, const int8 *buf, uint16 len, uint8 *addr, uint16 port)
 Send the data in UDP mode. More...
 
int32 UDPSendNB (uint8 s, const int8 *buf, uint16 len, uint8 *addr, uint16 port)
 Send the data in UDP mode without blocking. More...
 
int8 UDPSendCHK (uint8 s)
 Check if UDP Send action completed. More...
 
int32 UDPRecv (uint8 s, int8 *buf, uint16 len, uint8 *addr, uint16 *port)
 Receive the data in UDP mode. More...
 

Detailed Description

Socket Driver Source File - For w5500.

Version
1.0
Date
2013/02/27
Revision
2013/02/27 - 1.0 Release
Author


Copyright (C) 2013 WIZnet. All rights reserved.

Definition in file w5500/socket.c.