Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More complete documentation needed for dartio example #4483

Closed
DartBot opened this issue Aug 13, 2012 · 4 comments
Closed

More complete documentation needed for dartio example #4483

DartBot opened this issue Aug 13, 2012 · 4 comments
Assignees
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

Comments

@DartBot
Copy link

DartBot commented Aug 13, 2012

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

@DartBot
Copy link
Author

DartBot commented Aug 13, 2012

This comment was originally written by chris.s...@gmail.com


Oops, I forgot that the code I wrote pertaining to this bug, I put in a separate repository.

Link [1] above should have been:
[1] https://github.com/mobilewebdevs/chess-server

@iposva-google
Copy link
Contributor

Added Area-IO, Triaged labels.

@andersjohnsen
Copy link

Hi Chris,

Within the last year we've rewritten the entire dart:io library to utilize the dart:async library. This means that the APIs should be a lot more consistent now, where one only have to work with a very few concepts.

If you still feel that it's lacking documentation, please re-open this bug.

Thank you!,

@kevmoo
Copy link
Member

kevmoo commented May 14, 2014

Removed Area-IO label.
Added Area-Library, Library-IO labels.

@DartBot DartBot added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io closed-obsolete Closed as the reported issue is no longer relevant labels May 14, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants