Nexus Engine  v0.0.1
Loading...
Searching...
No Matches
LinuxSocket_Internal.cpp File Reference
#include "LinuxSocket_Internal.hpp"
#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <unistd.h>
#include <cerrno>
#include <cstring>
Include dependency graph for LinuxSocket_Internal.cpp:

Namespaces

namespace  Nexus
namespace  Nexus::Network
namespace  Nexus::Network::Internal

Functions

RawError Nexus::Network::Internal::RawTranslateErrno (int err)
RawHandle Nexus::Network::Internal::RawCreateSocket (bool isTcp)
void Nexus::Network::Internal::RawCloseSocket (RawHandle handle)
bool Nexus::Network::Internal::RawSetNonBlocking (RawHandle handle, bool enabled)
bool Nexus::Network::Internal::RawSetReuseAddr (RawHandle handle)
bool Nexus::Network::Internal::RawBind (RawHandle handle, unsigned short port)
bool Nexus::Network::Internal::RawListen (RawHandle handle, int backlog)
RawHandle Nexus::Network::Internal::RawAccept (RawHandle handle)
bool Nexus::Network::Internal::RawParseIPv4 (const char *host, unsigned short port, RawAddress &out)
RawResult Nexus::Network::Internal::RawConnect (RawHandle handle, const RawAddress &address)
RawResult Nexus::Network::Internal::RawCompleteConnect (RawHandle handle)
RawResult Nexus::Network::Internal::RawSend (RawHandle handle, const void *data, unsigned long size)
RawResult Nexus::Network::Internal::RawReceive (RawHandle handle, void *buffer, unsigned long size)
RawResult Nexus::Network::Internal::RawSendTo (RawHandle handle, const RawAddress &dest, const void *data, unsigned long size)
RawReceiveResult Nexus::Network::Internal::RawReceiveFrom (RawHandle handle, void *buffer, unsigned long size)