aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/world/net/udp.old.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-05-28 22:14:53 -0400
committerEduardo Julian2019-05-28 22:14:53 -0400
commit8cd61c00de00728759d0362a60dbca8d23e4d8dc (patch)
tree4eaf5b75bea6bd84b1db28eb405539213392a588 /stdlib/source/lux/world/net/udp.old.lux
parentf55e513690400cce9e5e17a01a98922d91e086c3 (diff)
Both the old JVM interop and the new JVM interop use the same syntax for array types.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/world/net/udp.lux (renamed from stdlib/source/lux/world/net/udp.old.lux)6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/world/net/udp.old.lux b/stdlib/source/lux/world/net/udp.lux
index 1f78f4b0d..df9244186 100644
--- a/stdlib/source/lux/world/net/udp.old.lux
+++ b/stdlib/source/lux/world/net/udp.lux
@@ -52,12 +52,12 @@
(flush [] #io #try void))
(import: java/net/InetAddress
- (#static getAllByName [String] #io #try (Array InetAddress))
+ (#static getAllByName [String] #io #try [InetAddress])
(getHostAddress [] String))
(import: java/net/DatagramPacket
- (new #as new|send [(Array byte) int int InetAddress int])
- (new #as new|receive [(Array byte) int int])
+ (new #as new|send [[byte] int int InetAddress int])
+ (new #as new|receive [[byte] int int])
(getAddress [] InetAddress)
(getPort [] int)
(getLength [] int))