[fix]修正UdpServer在接收广播时连续启动接收的错误,在StarAgent中,此时可能收到广播包,SocketFlags是Broadcast,需要清空,否则报错“参考的对象类型不支持尝试的操作”; 无需设置SocketOptionName.PacketInformation,在ReceiveMessageFromAsync时会自动设置,并且支持ipv6;
石头
编写于
2024-10-10 00:36:00
石头
提交于
2024-10-10 00:45:43
X
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="NewLife.Remoting.ApiClient" Collapsed="true">
<Position X="3.5" Y="4" Width="1.5" />
<TypeIdentifier>
<HashCode>ACAAAAAAgCAEIAAAAAAACAAAEAgAAAAQAAAAAACBAEQ=</HashCode>
<FileName>Remoting\ApiClient.cs</FileName>
</TypeIdentifier>
<ShowAsAssociation>
<Property Name="Client" />
</ShowAsAssociation>
<Lollipop Position="0.2" />
</Class>
<Class Name="NewLife.Remoting.ApiAction" Collapsed="true">
<Position X="0.5" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAQAAAAAEIAAkQAQAAAAAAAgAAAAAAAAAAAA=</HashCode>
<FileName>Remoting\ApiAction.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="NewLife.Remoting.JsonEncoder" Collapsed="true">
<Position X="3.5" Y="6.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAABAAAAAAIAAAAAAgAAAAAAAAAAAQAAAAAA=</HashCode>
<FileName>Remoting\JsonEncoder.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="NewLife.Remoting.EncoderBase" Collapsed="true">
<Position X="3.5" Y="5.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAABAAAAAAMAAAAAAAAgAAAAAAAABQAAAAAA=</HashCode>
<FileName>Remoting\IEncoder.cs</FileName>
</TypeIdentifier>
<Lollipop Position="0.2" />
</Class>
<Class Name="NewLife.Remoting.ApiHttpClient" Collapsed="true">
<Position X="6.5" Y="4" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAA=</HashCode>
<FileName>Remoting\ApiHttpClient.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="NewLife.Remoting.ApiNetClient" Collapsed="true">
<Position X="6.5" Y="2.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AABAAAAAACAEIAAAAAAACAAAEAgAAACAAAACAADAAEQ=</HashCode>
<FileName>Remoting\ApiNetClient.cs</FileName>
</TypeIdentifier>
<Lollipop Position="0.2" />
</Class>
<Class Name="NewLife.Remoting.ApiHost" Collapsed="true">
<Position X="3.5" Y="2.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAABBAAcCAAACoAAAAAEAAABBAABAAAAAAAAAEA=</HashCode>
<FileName>Remoting\ApiHost.cs</FileName>
</TypeIdentifier>
<ShowAsAssociation>
<Property Name="Encoder" />
<Property Name="Handler" />
<Property Name="Manager" />
</ShowAsAssociation>
<Lollipop Position="0.2" />
</Class>
<Interface Name="NewLife.Remoting.IApiClient" Collapsed="true">
<Position X="0.5" Y="4" Width="1.5" />
<TypeIdentifier>
<HashCode>AABAAAAAAAAEIAAAAAAAAAAAEAgAAACAAAACAACAAAA=</HashCode>
<FileName>Remoting\IApiClient.cs</FileName>
</TypeIdentifier>
</Interface>
<Interface Name="NewLife.Remoting.IEncoder" Collapsed="true">
<Position X="3.5" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAABAAAAAAIAAAAAAAAgAAAAAAAABQAAAAAA=</HashCode>
<FileName>Remoting\IEncoder.cs</FileName>
</TypeIdentifier>
</Interface>
<Interface Name="NewLife.Remoting.IApiHandler" Collapsed="true">
<Position X="6.5" Y="0.5" Width="1.5" />
<Compartments>
<Compartment Name="Methods" Collapsed="true" />
</Compartments>
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>Remoting\IApiHandler.cs</FileName>
</TypeIdentifier>
</Interface>
<Interface Name="NewLife.Remoting.IApiManager" Collapsed="true">
<Position X="0.5" Y="2.5" Width="1.5" />
<Compartments>
<Compartment Name="Methods" Collapsed="true" />
</Compartments>
<TypeIdentifier>
<HashCode>gAAAAAAAAAAAAAAAAAAAAAAAAAAJAAAAAAAAAAAAAAA=</HashCode>
<FileName>Remoting\IApiManager.cs</FileName>
</TypeIdentifier>
<ShowAsCollectionAssociation>
<Property Name="Services" />
</ShowAsCollectionAssociation>
</Interface>
<Interface Name="NewLife.Remoting.IApiSession" Collapsed="true">
<Position X="9" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AABAAAAAAAAAAAAACAAAAAAAAAAAAACQAAAAAAABAAA=</HashCode>
<FileName>Remoting\IApiSession.cs</FileName>
</TypeIdentifier>
</Interface>
<Font Name="微软雅黑" Size="9" />
</ClassDiagram>
|