날자별

2010 2월
1234567
891011121314
15161718192021
22232425262728

printf sprintf 혹은 format에서 출력 하려고 할때

[cpp]unsigned int = %u long = %ld unsigned long = %lu float = %f double = %lf long double = %Lf 16진수 = %02x ULONGLONG = %I64d[/cpp]

자료형

[cpp]#define MAKEWORD(a, b) ((WORD)(((BYTE)(((DWORD_PTR)(a)) & 0xff)) | ((WORD)((BYTE)(((DWORD_PTR)(b)) & 0xff))) 16) & 0xffff)) #define LOBYTE(w) ((BYTE)(((DWORD_PTR)(w)) & 0xff)) #define HIBYTE(w) ((BYTE)((((DWORD_PTR)(w)) >> 8) & 0xff))[/cpp]

WinSocket

I/O 모델 연결시도/ 연결성공 메모리 사용량 (KB) Non-Paged Pool CPU 사용량 (%) 쓰레드 개수 처리량 (Send/Receive Byte Per Second) Blocking 7,000/1,008 12,000/1,008 25,632 25,408 36,121 36,352 10-60 5-40 2,016 2,016 2,198,148/2,198,148 404,227/402,227 Non-blocking 7,000/4,011 12,000/5,779 4,208 5,224 135,123 156,260 95-100 95-100 1 1 0/0 0/0 WSAAsync-Select 7,000/1,956 12,000/4,077 3640 4884 38,246 42,992 75-85 90-100 […]