🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Internet, sockets, ...

#5053
From: Vladimir Stefanovic
Date: Thu, 28 Oct 2004 18:34
47 lines
2113 bytes
Hi,

Till now, I have learned how to use TClientSocket &
TServerSocket to send request, process request and
send back the response.

This was all related to LAN which was completely
isolated from the internet. I'm just curious about
techniques & princips of extending the system to work
on internet. Ie, what are my possibilities and what
BCB6 offers to me for that.

How can I setup the system to do this (imaginary):

1) Connect to internet by laptop wherever (lets say
in some foreign country)

2) Start my app

3) Send some request which some server will receive
lets say...

   file_length GET username password file.dat

...which should mean: give me the file.dat if you
recognize my username+password. Also here you are
the file_length to check the correctness of received
request.

4) Then the server should send me the file.dat.

Security is not of interest right now, although it's
important question.

AFAIK, my company has E-mail server which is connected
to internet, and has it's domain www.companyname.com.

Can you please direct me how can I (theoretically) setup
this system to begin with, and what BCB6 offers me for
that?


--


Best regards,
Vladimir Stefanovic
Technical Details
Message-ID: <41813ba0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.esat.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7239d7f9d7702b7d,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <spam@not.needed>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Internet, sockets, ...
Date: Thu, 28 Oct 2004 20:34:32 +0200
Lines: 50
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 213.137.116.193
Message-ID: <41813ba0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098988448 213.137.116.193 (28 Oct 2004 11:34:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.esat.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail