tfCancelCollisionDetection

Jump to: navigation, search

Table of Contents >> Optional Protocols >> AutoIP Configuration


#include <trsocket.h>



ttUserIpAddress tfCancelCollisionDetection (
ttUserInterface interfaceHandle,
ttUserIpAddress ipAddress
);
Conditional parameter. See details in Parameters below.


Function Description

This function cancels a collision detection that had been registered with tfUseCollisionDetection().

The user will pass the IP address that is being checked for collision. tfCancelCollisionDetection() will search the list of collision detection entries, and remove the matching entry and timer if any. Collision detection for that IP address will stop.


Parameters


Returns

  • TM_ENOERROR
    Success.
  • TM_ENOENT
    No collision detection entry matching the IP address in 'ipAddress' was found.


Table of Contents >> Optional Protocols >> AutoIP Configuration