The OpenD Programming Language

openNetwork

Experimental network access via the File interface

Opens a TCP connection to the given host and port, then returns a File struct with read and write access through the same interface as any other file (meaning writef and the byLine ranges work!).

version(linux)
openNetwork
(
string host
,
ushort port
)

Bugs

Only works on Linux

Meta

Authors

Adam D. Ruppe