使用Go语言创建异步TCP服务器
问题描述:
I want to start a server which listens on a specific port and does some calculations async and returns a result. Any leads on the same will be appreciated.
我要启动一个服务器,该服务器在特定端口上进行侦听并异步进行一些计算并返回结果。 在同一条线上的任何线索都将受到赞赏。 p> div>
答
Please use google for things like this before you go ahead and start a question.
Anyways you can find an example here. https://gist.github.com/iwanbk/2295255