Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  networking support

vlad.dumitrescu at flashm
Posted: Tue Jul 27, 1999 9:50 am Reply with quote
Guest
Hi!

As far as I can see (but I may have missed things), the built-in
networking support for Erlang is for TCP/IP and UDP. How easy
would it be to implement support for other protocols? Hopefully the
networking functionality is modular enough to enable some kind of
plug-and-play... or isn't it?

Thanks.
/Vlad


Post generated using Mail2Forum (http://m2f.sourceforge.net)
joe at bluetail.com
Posted: Wed Jul 28, 1999 11:14 am Reply with quote
Guest
On Tue, 27 Jul 1999, Vlad Dumitrescu wrote:

> Hi!
>
> As far as I can see (but I may have missed things), the built-in
> networking support for Erlang is for TCP/IP and UDP. How easy
> would it be to implement support for other protocols? Hopefully the
> networking functionality is modular enough to enable some kind of
> plug-and-play... or isn't it?
>
> Thanks.
> /Vlad
>

Yes it is modular - certain predefined messages are delivered
to net_kernel.erl when messages are received etc. HOW the messages
get there TCP/IP etc. is not defined. The kernel libraries were
completely rewritten to make it easy to support other protocols.

Saying that it's modular does not mean it's easy! - naming issues
and supporting multiple protocols requires a fairly deep knowledge
of the system.

Conceptually its easy - we have no shared memory etc. All
Erlang messages are mapped to the external term format and
shipped with any available byte transport mechanism.

If you want to do this yourself post to this group first -
you'll probably need to chat to one of the guys who did
the network code.

/Joe
--
Joe Armstrong,
Bluetail AB, tel: +46 8 692 22 11
Hantverkargatan 78, fax: +46 8 654 70 71
SE-112 38 Stockholm, Sweden info: www.bluetail.com



Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum