nauful / LibUA

Open-source OPC UA client and server library
Apache License 2.0
262 stars 94 forks source link

[DRAFT] Migrate from raw sockets to streams #166

Closed bevanweiss closed 5 months ago

bevanweiss commented 5 months ago
bevanweiss commented 5 months ago

It appears to work in the .NET Core Server/Client tests, not sure if there's any perf changes from this however (I couldn't notice anything obvious). The .NET Framework NetworkStream doesn't expose the raw Socket, so have created an inheriting class which can expose the Socket.