Networker icon indicating copy to clipboard operation
Networker copied to clipboard

A simple to use TCP and UDP networking library for .NET. Compatible with Unity.

Results 20 Networker issues
Sort by recently updated
recently updated
newest added

在UdpClientListener中 ``` public UdpClientListener(ServerBuilderOptions options, ILogger logger, IServerPacketProcessor serverPacketProcessor, IServerInformation serverInformation) { this.options = options; this.logger = logger; this.serverPacketProcessor = serverPacketProcessor; this.serverInformation = serverInformation; endPointPool = new ObjectPool(this.options.UdpSocketObjectPoolSize); for (var...

- udp数据传输长度为0 1. 在IServerPacketProcessor中声明如下: ``` void ProcessUdpFromBuffer(EndPoint sender, byte[] buffer, int offset = 0, int length = 0); ``` 2. 在UdpClientListener中未指定数据长度 ``` private async Task Process(EndPoint endPoint, byte[] buffer) {...

var packetSize = packetSerialiser.CanReadLength ? BitConverter.ToInt32(buffer, currentPosition) : 0; //包长度后续没赋值,在不能读取长度的业务中陷入循环,如果数据包没有长度说明,则使用整包的长度 var packetSize = packetSerialiser.CanReadLength ? BitConverter.ToInt32(buffer, currentPosition) : length;

Bumps [MessagePack](https://github.com/neuecc/MessagePack-CSharp) from 1.7.3.4 to 1.9.3. Release notes *Sourced from [MessagePack's releases](https://github.com/neuecc/MessagePack-CSharp/releases).* > ## v1.9.3 > ## Changes > > 🔒 **Security fixes are included in this release**. Read more...

dependencies

Bumps [MessagePack](https://github.com/neuecc/MessagePack-CSharp) from 1.7.3.4 to 1.9.3. Release notes *Sourced from [MessagePack's releases](https://github.com/neuecc/MessagePack-CSharp/releases).* > ## v1.9.3 > ## Changes > > 🔒 **Security fixes are included in this release**. Read more...

dependencies

Just some minor documentation to help. I am not sure why we uncommented out `void Send(byte[] packet);` form the interface, but I added it back again.

Hello, i try to use Networker with unity but there are errors: [Error messages](https://hostpic.xyz/files/1566075517394223396.jpg) I followed the #43 instructions (Compile Networker.dll to 4.7.2, set unity in .net 4.7.* and put...

Hey. I scanned the code, and I liked it. But I can not find the opportunity to work without a serializer with byte array. Please add this low-level function.

Hi, I have got stuck in a weird situation. I want to initiate a send from the server side to all of the clients. So logically this should work: ```...

RegisterPacketHandler() if I have 1000 Handlers, I must write it 1000 times?