-
Notifications
You must be signed in to change notification settings - Fork 0
Get some feedback on current direction of impl #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The general idea of what I have done:
This means that I can write something like:
and
Each action also has a For example (not actually working code): fn send(m: Message, s: Action) -> Action {
s.do_send();
return s::Cont;
} This means that the next Which looks quite similar to session type syntax and can encode a protocol in types. Things I do not yet know/understand how to do:
|
Should make sure to look at TCP RFC to see if states and transitions are correct. Might be good to consider minimal impl (e.g. try just model handshake) It is good to have well defined failure states. |
No description provided.
The text was updated successfully, but these errors were encountered: