IFInit


C Specification

#include <dolphin/ip.h>

#define IF_TYPE_AUTO     0
#define IF_TYPE_10HALF   4

BOOL IFInit(s32 type);

Description

IFInit() initializes the broadband adapter and the internet library. IFInit() should be called just once in the program.

Arguments

type Specifies the interface mode. Currently auto-negotiation (IF_TYPE_AUTO) and 10Mbps (IF_TYPE_10HALF) are the valid setting.

Return Values

TRUE if the interface has been successfully initialized. Otherwise FALSE. If the function failed, do not use any other internet library functions.

See Also