07-05-04 07:49 AM
chris <chris@misery.net> writes:
> Måns Rullgård wrote:
>
>
> Wouldn't I be able to emulate connect(), send() and recv() in userland
> with a raw socket (ie. construct my own SYN packet for connect())?
I suppose you could.
> The one I'm really unsure about is socket().
You'd need the system socket() to get the raw socket.
> As for "Why?", it's just for fun and to learn.
That's always a legitimate reason.
--
Måns Rullgård
mru@kth.se
[ Post a follow-up to this message ]
|