Scala equivalent of python echo server/client example?

前端 未结 5 1095
一个人的身影
一个人的身影 2020-12-05 00:33

All the \"server\" example in scala use actors, reactors etc...

Can someone show me how to write a dead simple echo server and client, just like the following python

5条回答
  •  忘掉有多难
    2020-12-05 01:32

    I just wrote a blog post about using Akka IO and Iteratees to create a simple command based socket server.

    Maybe it could be of interest.

    http://leon.radley.se/2012/08/akka-command-based-socket-server/

提交回复
热议问题