KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
net_socket 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. More...
 
struct fs_socket_protoprotocol
 The protocol handler for this socket. More...
 
void * data
 Protocol-specific data. More...
 

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

void* net_socket::data

Protocol-specific data.

file_t net_socket::fd

File handle from the VFS layer.

struct fs_socket_proto* net_socket::protocol

The protocol handler for this socket.


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