🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Send a file over TCP Socket

#4245
From: lakis
Date: Wed, 09 Mar 2005 07:59
37 lines
2755 bytes
and also tftp:Standard 33/RFC 1350
(http://www.rfc-editor.org/rfc/std/std33.txt) "The TFTP protocol (revision
2)" insteed of ftp:The protocol is standardized in RFC 0959 by the IETF

? "Hans Galema" <notused@notused.nl> ?????? ??? ??????
news:422e02e9@newsgroups.borland.com...
> lakis wrote:
> > ... now one
> > final question and really sorry for the trouble of continuous
> > questions..
>
> You can ask as many questions as you want. That is no trouble at all.
> You only way you cause trouble is by not writing in a normal way
> with a kapital letter at the start of a sentence. Is your shift key
> blocked ?
>
>  > 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.
>
> No both use the same ftp protocol. They could also connect to the
> same server because the server speaks ftp.
>
> > when i send
> > file through sockets in this way what protocol am i using?(or im not
using
> > any protocol at all?)
>
> You use a protocol. But it has no name. A protocol is the way a client
> and a server exchange messages. If the server send you a bunch of data
> then it can for instance send four bytes (an int) first with the size
> of the message. A client has to read that size first. As simple as it
> is: this is a protocol. You have to know that the size comes first and
> act accordingly.
>
> Hans.
Technical Details
Message-ID: <422eacd3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!sn-xit-04!sn-xit-05!sn-xit-14!supernews.com!easynet-monga!easynet.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!tudelft.nl!130.161.131.116.MISMATCH!tudelft.nl!feeder2.cambrium.nl!feed.tweaknews.nl!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <422c18f6@newsgroups.borland.com> <422c79c0@newsgroups.borland.com> <422d7907@newsgroups.borland.com> <422d80f9$1@newsgroups.borland.com> <422d8633$1@newsgroups.borland.com> <422e02e9@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> <422d8633$1@newsgroups.borland.com> <422e02e9@newsgroups.borland.com>
Subject: Re: Send a file over TCP Socket
Date: Wed, 9 Mar 2005 09:59:22 +0200
Lines: 39
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: <422eacd3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110355155 195.251.45.43 (8 Mar 2005 23:59:15 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!sn-xit-04!sn-xit-05!sn-xit-14!supernews.com!easynet-monga!easynet.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!tudelft.nl!130.161.131.116.MISMATCH!tudelft.nl!feeder2.cambrium.nl!feed.tweaknews.nl!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail