Sockets in Comet | Devlog #02
External Library Updates
─────────────────────────────────────────
External libraries now have the ability to define enums. With this, I’ve begun work on a socket library for fun.
Socket External Lib
─────────────────────────────────────────
In the screenshot I’ve included, I’ve got a very tiny client and server example set up where the server waits for a single connection, and then prints out what the connection sent.
I’ve got the core functions done but I’m gonna add more methods like readExact, readAll, those kinds of methods that just make your life a bit easier.
Bug Fixes
─────────────────────────────────────────
With the help of a friend, I’ve fixed a number of bugs. I also got cometc and comet to compile without any warnings, which is nice.
Some bugs where:
- A lexer issue where trying to access a field from a list access would be incorrectly seen as a decimal number unless you added a space.
- Type checking on arrays was extremely strict and so I’ve lessened it so that arrays are usable
See you next time!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.