Files
@ 339b493050e2
Branch filter:
Location: CSY/reowolf/std/std.internet.pdl - annotation
339b493050e2
398 B
text/plain
WIP on tcp listener/socket test
113e4349a706 113e4349a706 9a4f36415198 113e4349a706 113e4349a706 113e4349a706 113e4349a706 113e4349a706 113e4349a706 7c5078fc4f81 113e4349a706 113e4349a706 1cc3bd69b119 9a4f36415198 9a4f36415198 9a4f36415198 9a4f36415198 9a4f36415198 1cc3bd69b119 7c5078fc4f81 7e5f19869dd2 1cc3bd69b119 1cc3bd69b119 339b493050e2 1cc3bd69b119 339b493050e2 | #module std.internet
union ClientCmd {
Send(u8[]),
Receive,
Finish,
Shutdown,
}
comp tcp_client(u8[] ip, u16 port, in<ClientCmd> cmds, out<u8[]> rx) {
#builtin
}
union ListenerCmd {
Accept,
Shutdown,
}
struct TcpConnection {
out<ClientCmd> tx,
in<u8[]> rx,
}
comp tcp_listener(u8[] ip, u16 port, in<ListenerCmd> cmds, out<TcpConnection> rx) {
#builtin
}
|