Comments (5)
How do you execute the project? dotnet run or from executable?
If you do dotnet run from project folder, you should not have this problem.
If you run it by executable, you have to do a dotnet publish --self-contained to pull down all dependencies.
This is the way how dotnet core works.
from netuv.
噢!是我错了,我想把程序集统一改成2.1.-以上版本, 导致我添加的程序集是"libuv-cs(1.23.0.5)",所以会报错,我修改成"libuv(1.10.0)"运行成功!谢谢
from netuv.
@StormHub 我发现NetUV封装的发送和接收缓冲区很好,只不过我使用C++libuv版本作为服务器,protobuf作为传递消息结构, 但是我在NetUV使用UDP接收消息时发现最大缓冲是2048字节,超过这个字节数会截断,我知道UDP网络传输不建议超过2048字节, 超过2048字节可以拆开发送, 但是我的想改变最大接收缓冲以供我的需求,我要怎么设置才能增大接收缓冲区
from netuv.
The buffer gets a 2048 byte fixed buffer allocated at https://github.com/StormHub/NetUV/blob/dev/src/NetUV.Core/Handles/Udp.cs#L381
It can be changed to expose by buffer size parameter easily. But changing that buffer size might not help that much because IO receive buffer size is actually controlled by the operation system. That was the reason that it is set to fixed 2k bytes.
from netuv.
@StormHub 如果我想通过另一个项目的可执行文件调用NetUV.Core编译出来的DLL,需要注意哪些细节吗? 我在可执行文件中加入了依赖项还是在运行时报错:"无法加载DLL“libuv”"
from netuv.
Related Issues (20)
- libuv version on linux HOT 8
- Cause NullReferenceException in EventLoop HOT 14
- Question about ReadableBuffer.ReadString with separator HOT 2
- IndexOutOfRangeException occurred in Readbytes HOT 2
- How to consume data HOT 8
- How to get a callback on server when client disconnect HOT 4
- Multiple loops and threads HOT 10
- When to Dispose Async HOT 2
- System.NullReferenceException In WriteRequest.Release() HOT 7
- System.AccessViolationException In StreamHandle.WriteStream HOT 4
- SegFault on Linux when server actively terminates client connection HOT 57
- Support websocket HOT 1
- update libuv v1.19.1? HOT 1
- how can i use multi event loop? HOT 4
- Can I join you? HOT 1
- can you give a performance and stable test HOT 1
- sir,you should update your prj to v2.1 HOT 4
- Support .NET Core 2.1 new memory primitives like Memory<T> and Span<T> HOT 1
- OnError never called HOT 6
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 netuv.