MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / netloaderDeactivate

Function netloaderDeactivate

source/ui/netloader.c:129–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129static void netloaderDeactivate(void)
130{
131 if (listenfd >= 0)
132 {
133 close(listenfd);
134 listenfd = -1;
135 }
136
137 if (datafd >= 0)
138 {
139 close(datafd);
140 datafd = -1;
141 }
142
143 if (udpfd >= 0)
144 {
145 close(udpfd);
146 udpfd = -1;
147 }
148
149 networkDeactivate();
150}
151
152void netloaderError(const char* func, int err)
153{

Callers 2

netloaderErrorFunction · 0.85
netloaderTaskFunction · 0.85

Calls 1

networkDeactivateFunction · 0.85

Tested by

no test coverage detected