libnx  v4.6.0
Data Fields
SocketInitConfig Struct Reference

Configuration structure for socketInitalize. More...

#include <socket.h>

Data Fields

u32 tcp_tx_buf_size
 Size of the TCP transfer (send) buffer (initial or fixed).
 
u32 tcp_rx_buf_size
 Size of the TCP receive buffer (initial or fixed).
 
u32 tcp_tx_buf_max_size
 Maximum size of the TCP transfer (send) buffer. If it is 0, the size of the buffer is fixed to its initial value.
 
u32 tcp_rx_buf_max_size
 Maximum size of the TCP receive buffer. If it is 0, the size of the buffer is fixed to its initial value.
 
u32 udp_tx_buf_size
 Size of the UDP transfer (send) buffer (typically 0x2400 bytes).
 
u32 udp_rx_buf_size
 Size of the UDP receive buffer (typically 0xA500 bytes).
 
u32 sb_efficiency
 Number of buffers for each socket (standard values range from 1 to 8).
 
u32 num_bsd_sessions
 Number of BSD service sessions (typically 3).
 
BsdServiceType bsd_service_type
 BSD service type (typically BsdServiceType_User).
 

Detailed Description

Configuration structure for socketInitalize.


The documentation for this struct was generated from the following file: