src/stack/sock/sockpcb.c File Reference

Object member functions for the Sock device object. These functions include protocol control type access to the SOCKET object. More...


Functions

void SockCleanPcb (uint SockProt, IPN IPAddress)


Detailed Description

Object member functions for the Sock device object. These functions include protocol control type access to the SOCKET object.

NOTE: (C) Copyright 2008, Texas Instruments, Inc.

Function Documentation

void SockCleanPcb ( uint  SockProt,
IPN  IPAddress 
)

Description
The function cycles through all the socket entries for the specified protocol family and closes any socket which matches the IP Address specified. The function was added to ensure that when an IP address is modified then any sockets which are using the OLD IP Address should be closed.

This is for *internal* NDK Stack Usage.

Parameters:
[in] SockProt Socket Family
[in] IPAddress OLD IP Address to which a socket might be bound to and which needs to be cleaned.
Return values:
Not Applicable


Copyright 2009, Texas Instruments Incorporated