diff --git a/std/std.internet.pdl b/std/std.internet.pdl index 2c7fc0601d3cb7ef441d6919876e6ee4d537d097..fa94ba6f198e11b59fa2ad744d3904bed4d79fc6 100644 --- a/std/std.internet.pdl +++ b/std/std.internet.pdl @@ -1,5 +1,11 @@ #module std.internet -primitive tcp_client(u8[] ip, u16 port, in tx, out rx) { +union Cmd { + Send(u8[]), + Receive, + Finish, +} + +primitive tcp_client(u8[] ip, u16 port, in cmds, out rx) { #builtin } \ No newline at end of file