[Tutor] Turning a "script" into an "application"

Alan Gauld alan.gauld at freenet.co.uk
Thu Oct 28 00:39:18 CEST 2004


> > Secondly, he would have to learn about threads and thread
> > synchronization. While this is not overly difficult, it is more
> > difficult than learning sockets (IMNSHO, more on this) and tends
to
> > lead to very subtle and difficult to debug errors.
> >
> >
> This sounds interesting. Are you aware of any examples using sockets
for
> basic rpc on the web somewhere?

There are lots, its how nearly all Unix rpc was done between
1980-1990.
And it is still an easy way to do things if the number of simultaneous
executions is low and the protocol is simple.

The Dietel & Dietel Python book gives an example of a client server
OXO game built using sockets, if that helps...

Alan G.



More information about the Tutor mailing list