MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / AS_CreateSocketTCP

Function AS_CreateSocketTCP

Source/Scripting/angelscript/asfuncs.cpp:140–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138static uint32_t socket_id_invalid = SOCKET_ID_INVALID;
139
140static uint32_t AS_CreateSocketTCP(std::string& host, uint16_t port) {
141 return Engine::Instance()->GetASNetwork()->CreateSocketTCP(host, port);
142}
143
144static void AS_DestroySocketTCP(uint32_t socket) {
145 return Engine::Instance()->GetASNetwork()->DestroySocketTCP(socket);

Callers

nothing calls this directly

Calls 2

CreateSocketTCPMethod · 0.80
GetASNetworkMethod · 0.80

Tested by

no test coverage detected