06-22-05 12:54 PM
Madhav wrote:
> Hi all,
> Can I read data from a socket (non blocking datagram socket) at
> a specific offset? like we do lseek() on a file descriptor?
>
> also, can I use the MSG_PEEK flag to traverse the socket
> queue repeatedly?
>
> Thanks in advance for your help.
>
>
> Madhav.
>
man lseek says:
ERRORS
..
ESPIPE
The fildes argument is associated with a pipe, a FIFO,
or a socket.
Tom
[ Post a follow-up to this message ]
|