what is wrong with my simple socket client?
halida
linjunhalida at gmail.com
Sun Apr 7 05:01:14 PDT 2013
Here is the code:
https://gist.github.com/halida/5330197
I want to learn how to use socket in D,
and use a echo server written in ruby as echo_server.rb,
and I test it with telnet, it works fine.
and I write the client.d,
and the result is not what I expected,
and don't know what is wrong,
So anyone has a clue?
Output is listed at the end of the gist. Thanks for your help.
More information about the Digitalmars-d-learn
mailing list