作者stellvia7 (stellvia)
看板C_and_CPP
标题[问题] 请问socket api 中如何得知我要接收档案的size?
时间Tue Nov 24 13:15:12 2009
就是我写了一个抓档的小程式
但是我想要秀出我现在抓取的进度
但是苦无找不到我现在正在抓取档案的total size 为多少
有什麽api吗?
感恩
!!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.120.182.82
1F:→ pico2k:没有... 11/24 13:31
2F:→ stellvia7:=.=..那麽一般使用像ie下载东西部是都会告知total file 11/24 13:36
3F:→ stellvia7:是多少..是怎麽做的 感恩 11/24 13:36
4F:推 ledia:要看 Protocol 有没有支援, 比如说 HTTP 有 content length 11/24 13:47
5F:→ stellvia7:..我知道我查错方向了..应该要找http那边的东西才对 11/24 14:39