DISQUS

20bits: Network Programming in Erlang | 20bits

  • Blaxter · 1 year ago
    I'm right now also learning Erlang (with programming erlang of Joe Amstrong :D). Cool examples, thanks!
  • Jesse · 1 year ago
    Blaxter,

    Glad to be of service. There's a real lack of information about Erlang on the web outside of the official documentation.
  • Greg M · 1 year ago
    "so-called modern languages like Java, Ruby, or Python"

    What? Who so-called them that? None of those were even modern when they were designed, let alone now.
  • Nick Gerakines · 12 months ago
    I think he meant to say "so-called popular languages like Java, Ruby or Python"
  • Jesse · 1 year ago
    Greg,

    A truly devastating argument. ;)
  • Spruce Moose · 1 year ago
    Heh - I remember Beej's guide. I thought it was pretty cool way back in the mid-1990's. (-:

    I did a similar thing learning about the gen_server and gen_tcp modules except I thought I would re-implement the finger daemon. I got all the way through the network and server code and finally discovered that Erlang doesn't have an interface to all the POSIX user and group functions so no getpwnam().
  • bud crandall · 1 year ago
    What kind of security does erlang have, I need cyrpto type security, for credit cards.
  • art · 1 year ago
  • Olivier · 1 year ago
    Hi,
    Where did you find out about the "binary" option to inet:setopts/2 ? I can't find anything about it in the official documentation. I figured out by experimenting that the default type for recv seems to be string, and the binary option switches to binary, but I'm curious about other possibilities too.
  • Jesse · 1 year ago
    Olivier,

    It's somewhere in the docs, which are admittedly terrible. Sorry I can't be of more help.