17 LARGE_INTEGER performance_counter;
18 LARGE_INTEGER performance_frequency;
20 QueryPerformanceCounter(&performance_counter);
21 QueryPerformanceFrequency(&performance_frequency);
23 return (
MicroSeconds) (performance_counter.QuadPart * 1000000LL
24 / performance_frequency.QuadPart);
33 const WORD wVersionRequested = MAKEWORD(2, 2);
34 WSAStartup(wVersionRequested, &wsaData);
40 closesocket(socket_handle);
45 return ioctlsocket(socket_handle, FIONBIO, &iMode);
MilliSeconds GetMilliSeconds(void)
This function shall return the current time in milliseconds relative to epoch, and shall be implement...
void CloseSocketPlatform(int socket_handle)
Platform dependent code to close a socket.
unsigned long long MicroSeconds
int SetSocketToNonBlocking(int socket_handle)
EipStatus
EIP stack status enum.
int SetQosOnSocket(int socket, CipUsint qos_value)
EipStatus NetworkHandlerInitializePlatform(void)
Executes platform dependent network handler initialization code.
unsigned long MilliSeconds
MicroSeconds getMicroSeconds()