Initialize

nn::socket::Initialize Function

Syntax

Result Initialize(
     nn::fnd::IAllocator & allocator,
     size_t bufferSize,
     s32 maxSessions
);

Parameters

Name Description
allocator
bufferSize
maxSessions

Return Values

Description

Initializes the socket library, allowing socket API functions to be called.

Retained for compatibility with past versions. Try to avoid using this function if at all possible, because it does not use memory efficiently.


CONFIDENTIAL