ToyGine2 26.2.0
Game Engine for retro consoles
Loading...
Searching...
No Matches
socket_flags.hpp File Reference

Socket option and mode flags for the network module. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  toy
 Root namespace containing all engine modules.
namespace  toy::network
 Network types: endpoint, socket error, flags, statistics, type, and related APIs.

Enumerations

enum class  toy::network::SocketFlags : uint8_t {
  toy::network::None = 0x00 , toy::network::NonBlocking = 0x01 , toy::network::ReuseAddress = 0x02 , toy::network::Broadcast = 0x04 ,
  toy::network::Listen = 0x08 , toy::network::Bind = 0x10
}
 Bitmask flags for socket options and operating mode. More...

Detailed Description

Socket option and mode flags for the network module.

Defines toy::network::SocketFlags: bitmask flags for non-blocking mode, address reuse, broadcast, listen, and bind. Used when creating or configuring sockets.

Note
Included by network.hpp; do not include this file directly.