Comments (4)
@JingChuang
Windows 里用的是 IOCP,它是异步的,和同步的 epoll 还是有一点区别,如果要支持 Windows 的话可能会有一些兼容的修改,而且说实话我对 Windows 下的网络编程和 IOCP 都不甚了解,还在调研学习中。
gnet
未来可能会支持 Windows,但是我近期可能还没时间精力和足够的知识储备做,
可以持续关注 gnet
,或者欢迎 Windows 网络编程和 IOCP 的高手给我提 PR 😁,另外,你下载的 gnet
版本太老了,现在已经更新到 v1.0.0-beta.3 了,如果要试用,可以下载这个版本,感谢对 gnet
的关注😀
from gnet.
@JingChuang
Windows 里用的是 IOCP,它是异步的,和同步的 epoll 还是有一点区别,如果要支持 Windows 的话可能会有一些兼容的修改,而且说实话我对 Windows 下的网络编程和 IOCP 都不甚了解,还在调研学习中。
gnet
未来可能会支持 Windows,但是我近期可能还没时间精力和足够的知识储备做,
可以持续关注gnet
,或者欢迎 Windows 网络编程和 IOCP 的高手给我提 PR 😁,另外,你下载的gnet
版本太老了,现在已经更新到 v1.0.0-beta.3 了,如果要试用,可以下载这个版本,感谢对gnet
的关注😀
thanks, How to get the latest version of your package in mod mode?
I use mod mode, the version that is automatically pulled down is v0.1.3
from gnet.
@JingChuang
一般来说,在目录下执行 go get -u github.com/panjf2000/gnet
之后,go.mod 应该会自动更新到最新的 release,如果没有的话,那就直接用 go mod edit
编辑 go.mod,手动把版本改成最新版本(当前是v1.0.0-rc.3),然后 go mod tidy
应该就行了。
from gnet.
@JingChuang
一般来说,在目录下执行go get -u github.com/panjf2000/gnet
之后,go.mod 应该会自动更新到最新的 release,如果没有的话,那就直接用go mod edit
编辑 go.mod,手动把版本改成最新版本(当前是v1.0.0-rc.3),然后go mod tidy
应该就行了。
i konw how to pull latest version, with eg:
require github.com/panjf2000/gnet master,
Can you add windows std usage? Like evio std, because I can debug directly on windows pc, and finally run in linux docker, I prefer to be in windows coding. thanks
from gnet.
Related Issues (20)
- [Question]: 请教一下关于v2版本TCP粘包的问题 HOT 4
- [Question]: 应该如何支持 tls HOT 4
- [Feature]: 使用Engine.Stop退出时,会通过DefaultLogger输出很多错误日志 HOT 3
- [Question]: Why are http examples incompatible with MicroPython urequests
- [Bug]: bind: address already in use when using without reuseAddr parameter HOT 2
- UDP resets Context and creates new gnet.Conn OnTraffic() HOT 1
- [Feature]: 实现异步非阻塞的PacketConn接口,从而支持quic协议 HOT 2
- [Bug]: windows下的实现似乎有bug HOT 2
- [Question]: Does gnet support a websocket server that can handle different URL patterns HOT 1
- [Question]:详细的说明文档,说明什么情况下应用程序应该主动调用close方法呢 HOT 19
- [Question]: 请问 多网卡情况下,在 udp 的 OnTraffic 事件里面,怎么得到接收数据的网络接口呢 HOT 1
- [Question]: 请教运行在serverless中http的Keep-Alive应该如何配置 HOT 2
- [Question]: 数据超过65535时多次触发OnTraffic如何处理数据? HOT 2
- [Question]: 重启gnet.server需要如何做? HOT 6
- [Question]: 请问作者是否有异步读取的最佳实践示例呢? HOT 1
- [Question]:自定义codec中是否会存在接受header失败导致后续数据都无法正确获取的情况 HOT 1
- [Feature]: 添加pool来管理asyncwritev的内存, 以及客户端的api是否可以独立于服务端 HOT 7
- [Question]: IO Wait如何解决 HOT 3
- [Question]: conn_map.go:66 panic concurrent map read and map write HOT 2
- [Question]: 可疑的CPU占用 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnet.