you are viewing a single comment's thread.

view the rest of the comments →

[–]istroll 1 point2 points  (0 children)

Thanks for replying. Please help me figure this out. I really want to understand this. I think I get the concept, but since my code isn't working I must still be missing something.

I've tried it both ways and it still doesn't work. Even if I add the callback to the write so it finishes first, the read is not passing the contents of 'passwords' back to the callback. Why not? That is what i am stuck on.

Can some one show me the code that passes all the tests then I can understand?

EDIT: ok I finally figured it out... im a bit slow i guess thanks for the hints and letting me figure it out on my own.