Fixed allSelectorsSent because a simpler implementation was overriding the original.
[cslatevm.git] / tests / socket.slate
blob3e554310afebc2c37d95c81fd93803b5aca47834
1 load: 'src/mobius/c/types.slate'.
2 load: 'src/lib/extlib.slate'.
3 load: 'src/lib/net/socket.slate'.
4 load: 'src/plugins/socket/unix/socket.slate'.
6 addSlot: #s valued: (Net Socket open: 'localhost' port: 22).
7 addSlot: #b valued: (ByteArray newSize: 20).
9 Console ; ((s reader next: 5) as: String).
10 s writer nextPut: $b.
11 s writer nextPut: $o.
12 s writer nextPut: $o.