線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1461
推到 Plurk!
推到 Facebook!

AThread->Connection->WriteStream的問題???

尚未結案
qqmax
一般會員


發表:17
回覆:26
積分:8
註冊:2004-11-22

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-12-26 21:50:02 IP:211.76.xxx.xxx 未訂閱
不好意思想要問個問題 我用Indy60來寫的時候 AThread->Connection->WriteStream(後面有三個參數) 而我下載到別人的程式碼是用Indy90 WriteStream(後面有四個參數) 請問多一個參數是多了什麼呢??? 還有請問一下這幾個參數是分別代表什麼呢??我看HELP不太懂 可否請各位大大給我指點!!!謝謝
chris_shieh
高階會員


發表:46
回覆:308
積分:240
註冊:2004-04-26

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-12-27 13:46:31 IP:218.167.xxx.xxx 未訂閱
沒有裝Indy60 既然你有用過Indy60 WriteStream 我想內容應該不會差太多 這是Indy90 的說明 WriteStream(AStream: TStream; const AAll: Boolean = True; const AWriteByteCount: Boolean = False; const ASize: Integer = 0); virtual; Parameters *AStream: TStream, The stream to send to the peer connection. (你要傳送的Stream 內容) *const AAll: Boolean = True , Write from the start of the stream. Default value is True. (是否從Stream起頭開始寫入, 即寫入Stream之前先把Stream 位置移至起點) *const AWriteByteCount: Boolean = False, Write the stream size to the peer connection. Default value is False. (把Stream 大小寫入) indicates that the Integer value containing the size of the stream should be written to the peer connection prior to the stream data. When AAll is true, this value reflects the size of the entire stream. When AAll is False, this value indicates the stream size from the current stream position to the end of the stream. 是否傳送寫入的bytes 數 *const ASize: Integer = 0 傳送的Stream 大小
Ktop_Robot
站務副站長


發表:0
回覆:3511
積分:0
註冊:2007-04-17

發送簡訊給我
#3 引用回覆 回覆 發表時間:2007-04-18 17:33:23 IP:000.000.xxx.xxx 未訂閱
提問者您好:


以上回應是否已得到滿意的答覆?


若已得到滿意的答覆,請在一週內結案,否則請在一週內回覆還有什麼未盡事宜,不然,
將由版主(尚無版主之區域將由副站長或站長)自由心證,選擇較合適之解答予以結案處理,
被選上之答題者同樣會有加分獎勵同時發問者將受到扣 1 分的處分。不便之處,請見諒。


有問有答有結案,才能有良性的互動,良好的討論環境需要大家共同維護,感謝您的配合。

------
我是機器人,我不接受簡訊.
系統時間:2024-05-17 2:42:19
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!