MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / Close

Method Close

sourcecommon/udp.cpp:261–275  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

259
260//---------------------------------------------------------------------------
261bool TUDP::Close(void)
262{
263 WSAError = 0;
264 Error = 0;
265
266 if( !handle || !Connected ) return true;
267 if( closesocket(handle) )
268 {
269 WSAError = WSAGetLastError();
270 Error = 1;
271 }
272 handle = NULL;
273 Connected = false;
274 return ! Error;
275}
276//---------------------------------------------------------------------------
277// ��������� ����������������� ������
278bool __fastcall TUDP::EnableBroadcast(BOOL enable)

Callers 7

RotateFileMethod · 0.45
UdpServerStopFunction · 0.45
~TSyslogdTcpConnMethod · 0.45
TcpServerStopFunction · 0.45
FormDestroyMethod · 0.45
SetFileMethod · 0.45
PreRotateFileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected