You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TFTP is a simple protocol. There's not much complexity in terms of actual networking implementation. There's an implementation already: https://github.com/mor1/ocaml-tftp. Potential improvements
Use locals to ensure that sockets are well-bracketed.
Use local allocation where appropriate
Use unboxed types to implement zero-copy networking?
Implement a concurrent server? Use portable and contended for DRF? Is there a concurrency library built using effect handlers that we can use for concurrent servers?
TFTP is a simple protocol. There's not much complexity in terms of actual networking implementation. There's an implementation already: https://github.com/mor1/ocaml-tftp. Potential improvements
Relevant readings