Elektrine lite

← Feed

@sj_zero@social.fbxl.net

Post #266166

2026-02-07 21:37 UTC

I spent some time creating a server library and updating my client library for a certain protocol in FreeBASIC. I really wanted to set it up so it's very simple and straightforward, but you could also use it for more if you wanted to. One thing i did which is probably normal process for software developers but I'm just a retard from the sticks is I created a validation file that starts a server and a client and tests both end to end by testing each routine against itself and then also testing failure scenarios to prove it fails successfully. Sped up development a lot, since I could use the client to prove the server and the server to prove the client and I could develop both at once to meet in the middle in the validation program. Obviously I had to test against a reference implementation (and did), but it's like going through your own books before an audit -- It was easy to find problems before they became an issue I had to troubleshoot against a server or client I didn't write.

Replies (0)

No replies.