実行結果
[nw0514:~/inetd] j05014% ./client
Connected.
Input Keyword = warning: this program uses gets(), which is unsafe.
yama
Keyword = [yama] / Data = [kawa]
Input Keyword = xyz
Keyword = [xyz] / Data = [XYZ]
Input Keyword = 123
Keyword = [123] / Data = [456]
Input Keyword = xxxx
Keyword = [xxxx] / Data = [yyyy]
Input Keyword = shiro
Keyword = [shiro] / Data = [kuro]