Re: [PATCH v2 16/39] tests/qtest: Use send/recv for socket communication

2022-09-22 Thread Marc-André Lureau
On Tue, Sep 20, 2022 at 2:23 PM Bin Meng wrote: > From: Xuzhou Cheng > > Socket communication in the libqtest and libqmp codes uses read() > and write() which work on any file descriptor on *nix, and sockets > in *nix are an example of a file descriptor. > > However sockets on Windows do not use

[PATCH v2 16/39] tests/qtest: Use send/recv for socket communication

2022-09-20 Thread Bin Meng
From: Xuzhou Cheng Socket communication in the libqtest and libqmp codes uses read() and write() which work on any file descriptor on *nix, and sockets in *nix are an example of a file descriptor. However sockets on Windows do not use *nix-style file descriptors, so read() and write() cannot be