![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
Namespace containing things related to networking. More...
Classes | |
| struct | PacketBuffer |
| struct | Socket |
Enumerations | |
| enum | ClientMessages : UINT16 { ClientHello = 10100, KeepAlive = 10108 } |
| enum | ServerMessages : UINT16 { ServerHello = 20100, KeepAliveOK = 20108 } |
Functions | |
| BLAM UINT32 | ClientHelloMessage (UINT8 *buffer) |
| BLAM UINT32 | ServerHelloMessage (UINT8 *buffer, bool success) |
| BLAM UINT32 | KeepAliveMessage (UINT8 *buffer) |
| BLAM bool | Init () |
| BLAM bool | Start (Socket *socket, LinearAllocator *allocator) |
| BLAM void | Close (Socket *socket) |
| BLAM bool | Bind (Socket *socket, Endpoint *endpoint) |
| BLAM bool | Send (Socket *socket, UINT8 *packet, UINT32 packetSize, Endpoint *endpoint) |
| BLAM bool | Receive (Socket *socket, UINT8 *buffer, UINT32 bufferSize, UINT32 *packetSizeOut, Endpoint *endpoint) |
| BLAM bool | IsConnected () |
| BLAM void | HandleReceive (Socket *sock, UINT8 *socketBuffer, UINT32 bufferSize, UINT32 *outPacketSize, Endpoint *outFrom) |
Namespace containing things related to networking.
| enum Blam::Network::ClientMessages : UINT16 |
| enum Blam::Network::ServerMessages : UINT16 |
Here is the call graph for this function:| UINT32 Blam::Network::ClientHelloMessage | ( | UINT8 * | buffer | ) |
Here is the caller graph for this function:| void Blam::Network::Close | ( | Socket * | socket | ) |
| void Blam::Network::HandleReceive | ( | Socket * | sock, |
| UINT8 * | socketBuffer, | ||
| UINT32 | bufferSize, | ||
| UINT32 * | outPacketSize, | ||
| Endpoint * | outFrom | ||
| ) |
Here is the call graph for this function:| bool Blam::Network::Init | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Blam::Network::IsConnected | ( | ) |
Here is the caller graph for this function:| UINT32 Blam::Network::KeepAliveMessage | ( | UINT8 * | buffer | ) |
| bool Blam::Network::Receive | ( | Socket * | socket, |
| UINT8 * | buffer, | ||
| UINT32 | bufferSize, | ||
| UINT32 * | packetSizeOut, | ||
| Endpoint * | endpoint | ||
| ) |
Here is the caller graph for this function:| bool Blam::Network::Send | ( | Socket * | socket, |
| UINT8 * | packet, | ||
| UINT32 | packetSize, | ||
| Endpoint * | endpoint | ||
| ) |
Here is the caller graph for this function:| BLAM UINT32 Blam::Network::ServerHelloMessage | ( | UINT8 * | buffer, |
| bool | success | ||
| ) |
| bool Blam::Network::Start | ( | Socket * | socket, |
| LinearAllocator * | allocator | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function: