More complete documentation needed for dartio example #4483
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-obsolete
Closed as the reported issue is no longer relevant
library-io
This issue was originally filed by chris.ston...@gmail.com
Hi, I recently wrote a dart application using websockets[1] to communicate to a process on my server and I was having a difficult time figuring out how to get it working because the documentation on dartio did not go over writing data to the process.[2]
I thought a good example program for the documentation would be something that communicated to a program like the unix bc command in which you could send commands to bc remotely from a client. This way we can see how to use the p.onStart() callback and p.stdin.writeString();
I eventually got my application working thanks to the help from Kevin Kellog on the forums.[3]
[1] https://github.com/mobilewebdevs/dartchess
[2] http://www.dartlang.org/articles/io/#processes
[3] https://groups.google.com/a/dartlang.org/forum/#!topic/misc/foB8RCiZnIw%5B1-25%5D
The text was updated successfully, but these errors were encountered: