Simple net IO supported

Submitted by Phaul on Tue, 2006-10-03 19:15.

The net io added recently is not a sophisticated or complete one. Altough could be enough. It allows you to write oml codes like

(declare net)
(set net (netconopen "" 9999 0)); 0 for TCP 1 for UDP
(if net
   (print (netconread net))
   (netconwrite "Bye." net)
   (netconclose net)

If you want to test this snippet don't forget to do sg like this :

$ nc -l 9999 # listen on port 9999

It's available - for now - in the CVS only.