diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/world/net/tcp.jvm.lux | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/lux/world/net/tcp.jvm.lux b/stdlib/source/lux/world/net/tcp.jvm.lux index a18b5e6de..539a1f8c6 100644 --- a/stdlib/source/lux/world/net/tcp.jvm.lux +++ b/stdlib/source/lux/world/net/tcp.jvm.lux @@ -11,24 +11,24 @@ [host]) [//]) -(host.import java/lang/AutoCloseable +(host.import: java/lang/AutoCloseable (close [] #io #try void)) -(host.import java/io/Flushable +(host.import: java/io/Flushable (flush [] #io #try void)) -(host.import java/io/InputStream +(host.import: java/io/InputStream (read [(Array byte) int int] #io #try int)) -(host.import java/io/OutputStream +(host.import: java/io/OutputStream (write [(Array byte) int int] #io #try void)) -(host.import java/net/Socket +(host.import: java/net/Socket (new [String int] #io #try) (getInputStream [] #io #try InputStream) (getOutputStream [] #io #try OutputStream)) -(host.import java/net/ServerSocket +(host.import: java/net/ServerSocket (new [int] #io #try) (accept [] #io #try Socket)) |