diff options
Diffstat (limited to 'std/stdsocket.sloth')
| -rw-r--r-- | std/stdsocket.sloth | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/stdsocket.sloth b/std/stdsocket.sloth index 46a5328..68576a0 100644 --- a/std/stdsocket.sloth +++ b/std/stdsocket.sloth @@ -1,5 +1,5 @@ -foreign fn serversock() Int; -foreign fn clientsock() Int; -foreign fn closesock(soc: Int); +foreign fn serversock(port: Int, addr: String, backlog: Int) Int; +foreign fn clientsock(port: Int, addr: String) Int; +foreign fn closesock(soc: Int, server:Bool); foreign fn sendsock(msg: String, soc: Int); foreign fn recvsock(soc: Int) String; |
