使用Go语言创建一个异步TCP服务器

huangapple go评论140阅读模式
英文:

Creating an async tcp server using go language

问题

我想启动一个服务器,它监听特定的端口,并异步进行一些计算,然后返回结果。对此有什么指导吗?

英文:

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.

答案1

得分: 1

在你开始提问之前,请使用谷歌等搜索引擎查找相关信息。

无论如何,你可以在这里找到一个示例。
https://gist.github.com/iwanbk/2295255

英文:

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

huangapple
  • 本文由 发表于 2013年9月3日 09:45:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/18582888.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定