18#ifndef __LIBNET_NETWORKSOCKET_H
19#define __LIBNET_NETWORKSOCKET_H
49 const Size packetSize,
Represents a file present on a FileSystem.
Networking packet queue implementation.
Network socket represents a single logical connection on a protocol.
const ProcessID m_pid
ProcessID which owns this socket.
NetworkClient::SocketInfo m_info
Socket connection.
NetworkQueue m_transmit
Transmit queue.
virtual ~NetworkSocket()
Destructor.
ProcessID getProcessID() const
Get owner ProcessID.
virtual FileSystem::Result process(const NetworkQueue::Packet *pkt)=0
Process incoming network packet.
NetworkQueue m_receive
Receive queue.
u32 ProcessID
Process Identification Number.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
Result
Result code for filesystem Actions.
Represents a network packet.