Re: [PATCH 1/2] io: Add support for MSG_PEEK for socket channel

2022-11-19 Thread manish.mishra
On 19/11/22 3:06 pm, manish.mishra wrote: MSG_PEEK reads from the peek of channel, The data is treated as unread and the next read shall still return this data. This support is currently added only for socket class. Extra parameter 'flags' is added to io_readv calls to pass extra read flags lik

[PATCH 1/2] io: Add support for MSG_PEEK for socket channel

2022-11-19 Thread manish.mishra
MSG_PEEK reads from the peek of channel, The data is treated as unread and the next read shall still return this data. This support is currently added only for socket class. Extra parameter 'flags' is added to io_readv calls to pass extra read flags like MSG_PEEK. --- chardev/char-socket.c