Mercurial > repos > tabletprog
view samples/sock.tp @ 354:a6cdcc1b1c02
Fix il and llcompile modules enough that it actually attempts to run the compiled program
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 15 Apr 2015 20:08:38 -0700 |
parents | 4c96a393103e |
children |
line wrap: on
line source
#{ main <- { sock <- socket connectTo: "127.0.0.1" onPort: 12345 sock send: "Hello, Socket!\n" response <- sock recv: 1024 print: (string: response) sock close 0 } }