목록이름있는파이프 (1)
Vienna
Chapter8) 프로세스 간 통신(IPC) 2 - 이름 있는 파이프 예제
/* * namedpipe_server.cpp * * 프로그램 설명: 이름 있는 파이프 서버 */ #include #include #include #define BUF_SIZE 1024 int CommToClient(HANDLE); int _tmain(int argc, TCHAR* argv[]) { LPCTSTR pipeName = _T("\\\.\\pipe\\ simple_pipe"); HANDLE hPipe; while (1) { hPipe = CreateNamedPipe( pipeName, PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES, BUF_SIZE, BUF_SIZ..
그외/뇌를 자극하는 윈도우즈 시스템 프로그래밍
2023. 4. 28. 12:43