#include "tcpsvcs.h"
#include <time.h>
Go to the source code of this file.
◆ DaytimeHandler()
Definition at line 29 of file daytime.c.
30{
36
39 if (localTime)
40 {
43 retVal = 1;
44 }
45
49 else
50 {
52 retVal = 1;
53 }
54
57}
VOID LogEvent(LPCWSTR lpMsg, DWORD errNum, DWORD exitCode, UINT flags)
static BOOL SendTime(SOCKET sock, CHAR *time)
VOID WINAPI ExitThread(IN DWORD uExitCode)
_Check_return_ _CRTIMP char *__cdecl asctime(_In_ const struct tm *_Tm)
_CRTIMP struct tm *__cdecl localtime(const time_t *_Time)
BOOL ShutdownConnection(SOCKET sock, BOOL bRec)
◆ SendTime()
Definition at line 15 of file daytime.c.
16{
19 {
22 }
23
25}
ACPI_SIZE strlen(const char *String)
INT WSAAPI send(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags)
int PASCAL FAR WSAGetLastError(void)
Referenced by DaytimeHandler().