![]() |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
#include "socket.h"
#include <accctrl.h>
#include <cassert>
#include "components/settings/config/config.h"
#include "components/diagnostics/logger/logger.h"
Namespaces | |
Internal | |
Functions | |
SOCKADDR_IN | Internal::ip_endpoint_to_sockaddr_in (Blam::Endpoint *ip_endpoint) |
bool | Internal::socket (Blam::Socket *outSocket) |
void | Internal::socket_close (Blam::Socket *sock) |
bool | Internal::socket_bind (Blam::Socket *sock, Blam::Endpoint *localEndpoint) |
bool | Internal::socket_send (Blam::Socket *sock, UINT8 *packet, UINT32 packetSize, Blam::Endpoint *endpoint) |
bool | Internal::socket_receive (Blam::Socket *sock, UINT8 *buffer, UINT32 bufferSize, UINT32 *outSize, Blam::Endpoint *endpoint) |
Variables | |
UINT32 | BufferCap = 2048 |
UINT32 | BufferMask = (BufferCap - 1) |
bool | isConnected = false |
Whether or not the socket is currently connected. More... | |
UINT32 BufferCap = 2048 |
UINT32 BufferMask = (BufferCap - 1) |
bool isConnected = false |
Whether or not the socket is currently connected.