Tag Info

New answers tagged


I recently discovered SocketLink bundled with Mathematica. It's not documented, but super straightforward: << "SocketLink`" port = 1234; s = CreateClientSocket["host", port] {inputStream, outputStream} = OpenSocketStreams[s]; This returns a binary InputStream and OutputStream that you can read/write like any other Mathematica stream with BinaryRead ...

Top 50 recent answers are included