#include <dolphin/ip.h>
#define IF_TYPE_AUTO 0
#define IF_TYPE_10HALF 4
BOOL IFInit(s32 type);
IFInit() initializes the broadband adapter and the internet
library. IFInit() should be called just once in the program.
type |
Specifies the interface mode. Currently auto-negotiation (IF_TYPE_AUTO)
and 10Mbps (IF_TYPE_10HALF) are the valid setting. |
TRUE if the interface has been successfully initialized. Otherwise FALSE. If the function failed, do not use any other internet library functions.