MCPcopy Create free account
hub / github.com/20tab/UnrealEnginePython / sock_close

Function sock_close

Source/UnrealEnginePython/Private/UEPyFSocket.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18static void sock_close(ue_PyFSocket *self) {
19 if (self->sock) {
20 self->sock->Close();
21 ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->DestroySocket(self->sock);
22 self->sock = nullptr;
23 }
24}
25
26static void sock_stop_receiver(ue_PyFSocket *self) {
27 if (self->udp_receiver) {

Callers 2

py_ue_fsocket_closeFunction · 0.85
ue_py_fsocket_deallocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected