Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

delphi3中winsock求助

1 view
Skip to first unread message

月牙儿

unread,
Apr 30, 1998, 3:00:00 AM4/30/98
to

我编了一个小程序,使用了delphi3的ClientSocket和Serversocket控件
用reciverbuffer(服务器端)和sendbuffer(客户器端)传送数据。
目的是要在网上传输一个bitmap文件(但我是用image.picture.bitmap属性)
先将bitmap存到一个内存流中然后写入缓冲,在传输。接收时相反。
但发现这样数据传输的正确性不能得到保证。我的数据有11K传到后一般只有
9K。delphi3的这两个控件不是建立在winsock之上的吗?我写的应该是应用
层的程序,为什么数据质量仍然得不到保证?如何才能保证传输数据的质量?
//thanks

--
※ 来源: 中国科大BBS站 [bbs.ustc.edu.cn]

Bill Gui

unread,
May 6, 1998, 3:00:00 AM5/6/98
to

Hi,

Try 'dWinsock' VCL component: http://www.getshareware.com/dwinsock/ , quite
good. I've used it to send a large file (100K - 1M).

Bill Gui


0 new messages