🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Send a file over TCP Socket

#4227
From: Hans Galema
Date: Mon, 07 Mar 2005 09:05
16 lines
1421 bytes
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: <422c19da$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <422c18f6@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
Date: Mon, 07 Mar 2005 10:05:51 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Send a file over TCP Socket
References: <422c18f6@newsgroups.borland.com>
In-Reply-To: <422c18f6@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <422c19da$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110186458 129.125.201.248 (7 Mar 2005 01:07:38 -0800)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail