Forums: 公開討議 (Thread #21742)

socketstreamについて (2009-02-19 12:22 by Anonymous #41979)

CLXのおかげでネットワーク周りがかなり楽になり、
大変助かっています。ありがとうございます。

ところで、socketstreamの仕様?について1点伺いたく。
socketstreamは空だと判定されて帰ってきてしまうにも
関わらず、実はまだデータが全部取り切れていないケース
がたまに発生するのが気になっております。

#どうもselectの判定でデータがあるにもかかわらず、
#無いと返っているところが問題のような…?

このあたりについて色々調べてみましたが、なかなか
解決に至らず相談に至った次第です。
何かそういった情報をもしお持ちであればご教示頂ければ
幸いです。

環境:Win XP Home, VC++ Express 2008利用

追加:
http://clx.cielquis.net/tcp.html
このサンプルの host は argv[1] の誤植ですよね?
一応、見つけたのでご報告まで。

Reply to #41979×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: socketstreamについて (2009-02-20 09:58 by cielquis #41999)

ご利用 & ご報告ありがとうございます.
該当の内容に関しては,コードをざっと見直した限りは原因を特定できなかったので,こちらでもテストを行って検証してみます.
何か進展があれば,このスレッドへレスする形で報告いたします.

※ html の記述ミスの方は修正いたしました.何かありましたら,これからもよろしくお願いいたします.
Reply to #41979

Reply to #41999×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login