🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4240

Re: Send a file over TCP Socket

#4240
From: lakis
Date: Tue, 08 Mar 2005 11:02
29 lines
2324 bytes
well i understand what u mean,and it seems simple i will work on it.now one
final question and really sorry for the trouble of continuous
questions..basically its a rather stupid question but im new in
programming.:if i use indy trivial ftp components for file transfer means i
am using trivial ftp protocol,if i use indy ftp components for file transfer
means i am using ftp protocol etc.  when i send
file through sockets in this way what protocol am i using?(or im not using
any protocol at all?) i mean that trivial ftp,ftp,icmp,http, etc protocols
have some security...through sockets which protocol am i using ?(in order to
understand what security is provided)

? "Hans Galema" <notused@notused.nl> ?????? ??? ??????
news:422d80f9$1@newsgroups.borland.com...
> lakis wrote:
>
> > what changes should be made to this code in order to see also to the
client
> > and to the server side
> > the download speed and the bytes remaining....i can post remys code
again if
> > neccessary.
>
> Well what is the problem with that ? On the sending side you can leave
> all code as it is. You know at forehand the size of the data. A while loop
> is used to send chuncks of data. So at every moment you know how
> much is sent. If you use GetTickCount() you know bytes/ms. So you
> only have to ad some code in that loop.
>
> Hans.
Technical Details
Message-ID: <422d8633$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <422c18f6@newsgroups.borland.com> <422c79c0@newsgroups.borland.com> <422d7907@newsgroups.borland.com> <422d80f9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9d46177051bb3960
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "lakis" <lakis@hotmail.com>
From: "lakis" <lakis@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <422c18f6@newsgroups.borland.com> <422c79c0@newsgroups.borland.com> <422d7907@newsgroups.borland.com> <422d80f9$1@newsgroups.borland.com>
Subject: Re: Send a file over TCP Socket
Date: Tue, 8 Mar 2005 13:02:12 +0200
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 195.251.45.43
Message-ID: <422d8633$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110279731 195.251.45.43 (8 Mar 2005 03:02:11 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail