tfUseRip

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


int tfUseRip (void);


Function Description

This function is called to start the RIPv2 Listener. It will also turn on the TM_OPTION_RIP_ENABLE mentioned in tfSetTreckOptions().


Returns

  • TM_ENOERROR
    Success.
  • TM_EMFILE
    Not enough sockets to open the RIP socket.
  • TM_EADDRINUSE
    Another socket is already bound to the RIP UDP port.
  • TM_EALREADY
    tfUseRip() has already been called successfully.


Table of Contents >> Programmer's Reference