[erlang-questions] Low Level Socket Example

Sargun Dhillon xbmodder@REDACTED
Tue Aug 12 20:28:15 CEST 2008


Why can't you use gen_tcp? Do you really need to implement OS level APIs in
Erlang? Erlang really isn't the right language for raw socket manipulation.
Try out C.

If you really want to get to know the lower layer network protocols, play
with Click (modular router).

On Tue, Aug 12, 2008 at 10:54 AM, Marc Eisenbarth
<Marc_Eisenbarth@REDACTED>wrote:

> hi all!
>
> I have been browsing the source code in hopes of learning more about how
> the network stack works, as implemented by Erlang. At this point, a small
> example would be extremely helpful. How would I go about opening a socket
> and sending a single SYN (structured as the first packet in the TCP 3-way
> handshake) and then stop communications? Since this doesn't follow the
> standard TCP connect paradigm (single packet, no FIN, etc.), it will be a
> helpful example for myself.
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080812/4ff48592/attachment.htm>


More information about the erlang-questions mailing list