SOC_Startup

C Specification

include <nitroWiFi/soc.h>
#define SOC_VENDOR_NINTENDO  0x0000      // Nintendo TCP/IP stack
#define SOC_VERSION          0x0100      // Version 1.0

typedef struct SOCConfig
{
u16 vendor;             // SOC_VENDOR_NINTENDO
u16 version;            // SOC_VERSION

    //
// vendor specific section
    //
                 :
                 :
                 :
} SOCConfig;
int SOC_Startup ( const SOCConfig* config );

Arguments

config Pointer to the SOCConfig structure.

Return Values

0 Successful.
-1 Memory allocation failed.

Note: Additional errors may be generated and returned in future library releases. Please treat all negative return values as general errors.

Description

This function initializes the library's socket layer. Before calling this function, initialize the SOCConfig parameters to meet the library vendor's specifications.

See Also

SOC_Cleanup, SOCConfig

Revision History

09/13/2005 Initial version.