Ignore:
Timestamp:
Aug 23, 2017, 9:27:43 AM (7 years ago)
Author:
coas-nagasima
Message:

文字コードを設定

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/prototool/src/echo_client.rb

    • Property svn:mime-type changed from text/x-ruby to text/x-ruby;charset=UTF-8
    r279 r321  
    66while msg = STDIN.gets
    77        print("you writed:", msg)
    8         #socketに書き込む
     8        #socketに書き込む
    99        sock.write(msg)
    10         #サーバから返ってきたメッセージを表示する。
     10        #サーバから返ってきたメッセージを表示する。
    1111        print("return message:", sock.gets)
    1212end
Note: See TracChangeset for help on using the changeset viewer.