Re: [PATCH 44/51] tests/qtest: microbit-test: Fix socket access for win32

2022-09-01 Thread Marc-André Lureau
On Wed, Aug 24, 2022 at 3:27 PM Bin Meng wrote: > From: Bin Meng > > Sockets on Windows do not use *nix-style file descriptors, so > write()/read()/close() do not work on Windows. > > Switch over to use send()/recv()/closesocket() which work with > sockets on all platforms. > > Signed-off-by: Bi

[PATCH 44/51] tests/qtest: microbit-test: Fix socket access for win32

2022-08-24 Thread Bin Meng
From: Bin Meng Sockets on Windows do not use *nix-style file descriptors, so write()/read()/close() do not work on Windows. Switch over to use send()/recv()/closesocket() which work with sockets on all platforms. Signed-off-by: Bin Meng --- tests/qtest/microbit-test.c | 10 +- 1 file