diff --git a/std/std.internet.pdl b/std/std.internet.pdl new file mode 100644 index 0000000000000000000000000000000000000000..3e016622c4f8586d89ec371eb4e778dcc28f719e --- /dev/null +++ b/std/std.internet.pdl @@ -0,0 +1,12 @@ +#module std.internet + +union Cmd { + Send(u8[]), + Receive, + Finish, + Shutdown, +} + +primitive tcp_client(u8[] ip, u16 port, in cmds, out rx) { + #builtin +}