Announce: Client server tutorial

Joe Armstrong joe@REDACTED
Fri Oct 3 16:52:39 CEST 2003


  Why I wrote this was because  I wanted a low level IP interface, and
needed a simple way of writing  a bridge between a high level protocol
(like TCP)  and a  much lower level  where I  can send and  receive IP
packets directly - and that you can't do in Erlang :-(

  /Joe

	

	






On Fri, 3 Oct 2003, Peter-Henry Mander wrote:

> Hi Jonathan, hi Joe,
> 
> I think the tutorial is spot on in cases where the C server may be, for 
> example a UDP packet generator, or some code interfacing with Linux 
> iptables to build a media gateway. I've implemented such things, and 
> I'll probably be taking notes and applying the principles in the 
> tutorial while I re-engineer these components. Comparing what I've done 
> with Joe's usually terse and precise implementation will be very 
> instructive.
> 
> Thanks Joe. I owe you even more beers! I'm not sure I will ever visit 
> Sweden, and I don't know if you'll ever visit London, but rest assured 
> you'll never go thirsty on my account!
> 
> Pete.
> 
> jonathan@REDACTED wrote:
> > On 2 Oct 2003 at 17:02, Joe Armstrong wrote:
> > 
> > Am I missing something? Wouldn't it have made more sense to the 
> > server in Erlang and client in C? Or are things done this to 
> > demonstrate some particular techniques that you wanted to show?
> > 
> > - Jonathan Coupe
> > 
> > 
> >>I have written a client-server tutorial, its at:
> >>
> >>   http://www.sics.se/~joe/tutorials/client_server/client_server.html
> >>	
> >>   Properties
> >>	Client in Erlang
> >>	Server in C
> >>        Sockets
> >>        Parallel server (ie I fork of one process per session)
> >>
> >>   /Joe
> >>
> >>
> >>
> >>  
> >>
> >>
> > 
> > 
> > 
> > 
> > 
> 
> 




More information about the erlang-questions mailing list