🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

client - server

#2316
From: Gustavo
Date: Wed, 28 Jun 2006 05:37
20 lines
1533 bytes
Hi friends,

I am a begginer in c++ builder 6.0.
how do I to send and receive file for socket?
I know do a project to send message because
there is a example with c++ builder, but I don't
know how transfer files.
I read transmitfile(), but I don't understand
how use it. I know that I need use createfile
with transmitfile and I don't have  any idea of how do it.
If anybody have a simple example, please show me
to I begin my project.
Is indy or socket more easy to my idea?
I whant the way more easy and small code.
I need send a file of the client to server and of server
to client when necessary... I need too know when the
server is online to my transfer...
any help is wellcome...

thanks Gustavo
Technical Details
Message-ID: <44a2159a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7f91412dc037392e
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Gustavo" <nao@dou.meu.email>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: client - server
Date: Wed, 28 Jun 2006 02:37:33 -0300
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 201.37.252.114
Message-ID: <44a2159a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1151473050 201.37.252.114 (27 Jun 2006 22:37:30 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail