Scala equivalent of python echo server/client example?

前端 未结 5 1090
一个人的身影
一个人的身影 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:17

    Josh Suereth recently posted an example of an NIO echo server using scalaz Iteratees. Requires the scalaz library

提交回复
热议问题