🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

net application

#3686
From: Boris Epel
Date: Mon, 18 Jul 2005 14:48
27 lines
2073 bytes
Hi All,

this message was skipped in .students newsgroup , so I took a risk of 
posting it here...

I am starting to transfer my application (CBuilder 6.0) towards the 
support of the network. Since I am very new in this business I will 
appreciate any advise.

Application controls some hardware in a time critical manner. Let call
it server. Server does: execute commands, acquire data (asynchronously),
+transfer data on request (let say 0.5Mb every hour),
+inform about current state and report errors (not too frequently).

The idea is to write client which will look exactly like current
application but manage hardware remotely.

Questions:
which components to use (Indy ?)
which protocol and port better to use ?
what is better: to keep connection alive or poll server periodically?
Related question what to do with errors, sending of which have to be
initiated by server.
some hints for developing of the protocol - string-base or binary form ?

Regards,
Boris
Technical Details
Message-ID: <1121697858.80073@fox.mpi-muelheim.mpg.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-han1.dfn.de!news.gwdg.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,118e6f40a38c5247,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-han1.dfn.de!news.gwdg.de!not-for-mail
From: Boris Epel <epel@mpi-muelheim.mpg.de>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: net application
Date: Mon, 18 Jul 2005 16:48:30 +0200
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 27
Message-ID: <1121697858.80073@fox.mpi-muelheim.mpg.de>
NNTP-Posting-Host: fix.mpi-muelheim.mpg.de
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: gwdu112.gwdg.de 1121697858 65942 192.108.70.50 (18 Jul 2005 14:44:18 GMT)
X-Complaints-To: news@gwdg.de
NNTP-Posting-Date: Mon, 18 Jul 2005 14:44:18 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
Cache-Post-Path: fox.mpi-muelheim.mpg.de!unknown@pcepel.mpi-muelheim.mpg.de
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)