diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 23:55:00 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 23:55:00 -0500 |
| commit | dd3906c96555805af2580d593cf9429170b07a02 (patch) | |
| tree | a2f3974b325e4b31d3833a828dec7447108c0fb1 /std/stdsocket.sloth | |
| parent | c4d6a1229c35cc889a1db53cf1c9d87d2f662238 (diff) | |
| download | sloth-dd3906c96555805af2580d593cf9429170b07a02.tar.gz | |
sockets
Diffstat (limited to 'std/stdsocket.sloth')
| -rw-r--r-- | std/stdsocket.sloth | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/std/stdsocket.sloth b/std/stdsocket.sloth new file mode 100644 index 0000000..46a5328 --- /dev/null +++ b/std/stdsocket.sloth @@ -0,0 +1,5 @@ +foreign fn serversock() Int; +foreign fn clientsock() Int; +foreign fn closesock(soc: Int); +foreign fn sendsock(msg: String, soc: Int); +foreign fn recvsock(soc: Int) String; |
