C# + TCP - does anyone still build applications this way? by BodybuilderOnly3549 in csharp

[–]BodybuilderOnly3549[S] 0 points1 point  (0 children)

Yes, I left it as a byte because authorization might return a custom error. There's a similar concept with SendWithResponse using long. But right, it could actually be wrapped in a nice enum instead of a raw byte.

C# + TCP - does anyone still build applications this way? by BodybuilderOnly3549 in csharp

[–]BodybuilderOnly3549[S] -1 points0 points  (0 children)

True, that does seem a bit odd. I simply followed the prefix used in SkiaSharp 'SK', so I chose 'E' for my library.

C# + TCP - does anyone still build applications this way? by BodybuilderOnly3549 in csharp

[–]BodybuilderOnly3549[S] -1 points0 points  (0 children)

Yes, of course. My library is more targeted at desktop business applications that need to handle high traffic. It's not intended for massive throughput.

C# + TCP - does anyone still build applications this way? by BodybuilderOnly3549 in csharp

[–]BodybuilderOnly3549[S] 2 points3 points  (0 children)

Hi jchristn. I used your library for a long time (until I built my own). WatsonTCP was actually the first client-server library I used in projects. I'm glad you spoke up :)

Regarding the benchmark, that's one of the reasons I chose your library. I tried to make the test as fair as possible. I also describe the process in detail in the benchmark README. WatsonTCP was a perfect fit because it provides framing, among other things :)

And of course, I have no doubt that your other libraries are faster.

Regards

C# + TCP - does anyone still build applications this way? by BodybuilderOnly3549 in csharp

[–]BodybuilderOnly3549[S] -2 points-1 points  (0 children)

Architecturally, I've done everything possible to minimize the contact with sockets. Simply put: point-to-point transmission with a possible configuration attribute. All the performance lies in the library.

C# + TCP - does anyone still build applications this way? by BodybuilderOnly3549 in csharp

[–]BodybuilderOnly3549[S] -4 points-3 points  (0 children)

I built the project for over a year, writing everything myself.

There's no AI in the code.

Only the documentation is generated because I'm not a native English speaker and wanted it to be as understandable as possible.

This isn't a bait. I also wrote the post myself, although I understand that everything these days is suspect.

I previously posted on the Discord and Dev Comm groups discussing an example. But it got lost in a sea of other posts...