[erlang-questions] gen_tcp and gen_server
masahito ikuta
cooldaemon@REDACTED
Mon Dec 15 02:49:25 CET 2008
> I am just finally getting my head around OTP, but I need to have a TCP interface on my server.
I recommend you the "kai_tcp_server".
It has the following features:
- Makes it easy to implement concurrent TCP servers,
- Provides typical TCP server behaviours, listen, accept, and so forth,
- Handles multiple requests concurrently by maintaining process pool,
- Supports active as well as passive mode of gen_tcp,
- Based on OTP principles.
A few explanations of it are in the following link.
http://d.hatena.ne.jp/cooldaemon/20081205/1228451785
Sincerely,
Masahito Ikuta
2008/12/14 Sean Rasmussen <sean@REDACTED>:
>
> Agreed: in fact I used that example as one of the resources for building my
> own (modest) web app server.
> I had built it as part of teaching myself Erlang; I also wanted it to be a
> good resource
> for beginners like myself, so I tried to make the code especially clear.
> Maybe it will be of some use to you, Jarrod:
> http://code.google.com/p/pranayama/
> Besides that, the Armstrong chapter is especially good.
> Regards,
> Sean
> On 4-Dec-08, at 3:05 PM, Alex wrote:
>
> check out
> http://www.trapexit.org/Building_a_Non-blocking_TCP_server_using_OTP_principles
>
> its a very good intro on how to setup a tcp server inside of a OTP
> supervisor tree.
>
> 2008/12/4 Jarrod Roberson <jarrod@REDACTED>
>>
>> How can I put a TCP interface on top of gen_server code that I have
>> written.
>> I am just finally getting my head around OTP, but I need to have a TCP
>> interface on my server.
>> I have searched Google and haven't really found anything useful.
>> Thanks in advance.
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list