[ํ์คํ] ZMQ Pattern
ZMQ Request-Reply pattern ‘Hello World’ client/server example Client sends “Hello” to the server Server replies with “World” 1:1 TCP echo ์๋ฒ์ ์ ์ฌ Synchronous REQ-REP socket ์ดํ๋ฆฌ์ผ์ด์
์ ๋๊ธฐ, ํต์ ์ ๋ํ ๋ถ๋ถ์ ์์์ ๋น๋๊ธฐ๋ก ์ฒ๋ฆฌ๋จ Client issues send() and then recv(), in a loop ํด๋ผ์ด์ธํธ๊ฐ ์ ํํ ํจํด - ๋ฆฌํ์คํธ ํจํด / ์๋ฒ๋ ๋ฆฌํ๋ผ์ด ํจํด Doing any other sequence (e.g., sending two messages in a row) will result in a return code of -1 from t..
2023.04.18