We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this questionI've decided to rewrite 开发者_运维问答most of my distributed server programs in Go to replace the existing c# based ones.
Can someone point me to a Go TCP libs or a Go general network programming lib.
Thanks
Edi: ... and how do i complile this code is visual stuido 2008? Thanks
Here's the official API docs for the net package.
Regarding how to compile: See the installation guide. As of yet there doesn't seem to be an obvious way to compile in VS:
The Go tool chain is written in C. To build it, you need to have GCC, the standard C libraries, the parser generator Bison, and the text editor ed installed.
So in order to develop on Windows, the easiest route would be to use cygwin.
Depending on the needs of your distributed software, you may also want to check out the rpc package which makes it quite easy to register an object's public methods and call them remotely.
精彩评论