🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Send a file over TCP Socket

#4231
From: Vladimir Stefanovic
Date: Mon, 07 Mar 2005 14:29
30 lines
1753 bytes
I think it's the ultimate time that Remy publishes the code
(faq) he presented here many times, and so just redirect all
similar questions.

I haven't counted but it's maybe 20th time that the same
question reappears ;)



-- 
Best regards,
Vladimir Stefanovic
"Hans Galema" <notused@notused.nl> wrote in message 
news:422c19da$1@newsgroups.borland.com...
> mehmed sipahi wrote:
>> Hi how can i send a file over tcp socket connection?I have allredy have a 
>> server which receive the file.BUt I dont know how can i sen file from 
>> client?
>> Sould i use Socket->Send() method ?but how?
>
> Use Socket->SendBuf().
>
> Please explain more exact what the problem is.
>
> Can you send other data ?
>
> Please read some actual threads in this newsgroup concerning
> SendBuf().
>
> Hans. 
Technical Details
Message-ID: <422c6525@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <422c18f6@newsgroups.borland.com> <422c19da$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
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <422c18f6@newsgroups.borland.com> <422c19da$1@newsgroups.borland.com>
Subject: Re: Send a file over TCP Socket
Date: Mon, 7 Mar 2005 15:29:03 +0100
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 82.117.212.65
Message-ID: <422c6525@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110205733 82.117.212.65 (7 Mar 2005 06:28:53 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail