KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
net_socket_t Struct Reference

Internal representation of a socket for fs_socket. More...

#include <kos/fs_socket.h>

Data Fields

file_t fd
 File handle from the VFS layer.
 
struct fs_socket_proto * protocol
 The protocol handler for this socket.
 
void * data
 Protocol-specific data.
 

Detailed Description

Internal representation of a socket for fs_socket.

This structure is the internal representation of a socket "file" that is used within fs_socket. A normal user will never deal with this structure directly (only protocol handlers and fs_socket itself ever sees this structure directly).

Field Documentation

◆ data

void* net_socket_t::data

Protocol-specific data.

◆ fd

file_t net_socket_t::fd

File handle from the VFS layer.

◆ protocol

struct fs_socket_proto* net_socket_t::protocol

The protocol handler for this socket.


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