network#

Include dependency graph for network.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "14" [label="variant" tooltip="variant"]
    "11" [label="string" tooltip="string"]
    "1" [label="src/network.h" tooltip="src/network.h" fillcolor="#BFBFBF"]
    "5" [label="utility.h" tooltip="utility.h"]
    "3" [label="boost/asio.hpp" tooltip="boost/asio.hpp"]
    "12" [label="string_view" tooltip="string_view"]
    "7" [label="condition_variable" tooltip="condition_variable"]
    "2" [label="tuple" tooltip="tuple"]
    "10" [label="optional" tooltip="optional"]
    "15" [label="vector" tooltip="vector"]
    "9" [label="mutex" tooltip="mutex"]
    "13" [label="type_traits" tooltip="type_traits"]
    "4" [label="enet/enet.h" tooltip="enet/enet.h"]
    "6" [label="algorithm" tooltip="algorithm"]
    "8" [label="memory" tooltip="memory"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
    "1" -> "4" [dir=forward tooltip="include"]
    "1" -> "5" [dir=forward tooltip="include"]
    "5" -> "6" [dir=forward tooltip="include"]
    "5" -> "7" [dir=forward tooltip="include"]
    "5" -> "8" [dir=forward tooltip="include"]
    "5" -> "9" [dir=forward tooltip="include"]
    "5" -> "10" [dir=forward tooltip="include"]
    "5" -> "11" [dir=forward tooltip="include"]
    "5" -> "12" [dir=forward tooltip="include"]
    "5" -> "13" [dir=forward tooltip="include"]
    "5" -> "14" [dir=forward tooltip="include"]
    "5" -> "15" [dir=forward tooltip="include"]
}

This graph shows which files directly or indirectly include network.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "11" [label="src/stream.cpp" tooltip="src/stream.cpp"]
    "3" [label="src/entry_handler.cpp" tooltip="src/entry_handler.cpp"]
    "1" [label="src/network.h" tooltip="src/network.h" fillcolor="#BFBFBF"]
    "12" [label="src/upnp.cpp" tooltip="src/upnp.cpp"]
    "4" [label="src/httpcommon.h" tooltip="src/httpcommon.h"]
    "7" [label="src/network.cpp" tooltip="src/network.cpp"]
    "6" [label="src/main.cpp" tooltip="src/main.cpp"]
    "8" [label="src/platform/linux/publish.cpp" tooltip="src/platform/linux/publish.cpp"]
    "2" [label="src/confighttp.cpp" tooltip="src/confighttp.cpp"]
    "10" [label="src/platform/windows/publish.cpp" tooltip="src/platform/windows/publish.cpp"]
    "9" [label="src/platform/macos/publish.cpp" tooltip="src/platform/macos/publish.cpp"]
    "5" [label="src/httpcommon.cpp" tooltip="src/httpcommon.cpp"]
    "1" -> "2" [dir=back tooltip="include"]
    "1" -> "3" [dir=back tooltip="include"]
    "1" -> "4" [dir=back tooltip="include"]
    "1" -> "5" [dir=back tooltip="include"]
    "1" -> "7" [dir=back tooltip="include"]
    "1" -> "8" [dir=back tooltip="include"]
    "1" -> "9" [dir=back tooltip="include"]
    "1" -> "10" [dir=back tooltip="include"]
    "1" -> "11" [dir=back tooltip="include"]
    "1" -> "12" [dir=back tooltip="include"]
    "4" -> "2" [dir=back tooltip="include"]
    "4" -> "3" [dir=back tooltip="include"]
    "4" -> "5" [dir=back tooltip="include"]
    "4" -> "6" [dir=back tooltip="include"]
}

todo

namespace net#

Typedefs

using host_t = util::safe_ptr<ENetHost, free_host>#
using packet_t = util::safe_ptr<ENetPacket, enet_packet_destroy>#
using peer_t = ENetPeer*#

Enums

enum af_e#

Values:

enumerator IPV4#
enumerator BOTH#
enum net_e#

Values:

enumerator PC#
enumerator LAN#
enumerator WAN#