Roedy Green wrote:
> But if I got that route, I thought I might get in trouble with
> firewalls. My clients won't have a clue what to do.
Firewalls are usually there for a reason. If your client doesn't know
about their own firewalls, well ...
As someone else has mentioned, the other thing is NAT. This is not
related to firewalls. Even if you run an HTTP server on port 80 behind a
NAT device, that device will typically need configuration - in case of
course the server should be reachable from the outside.
However, if the software behind the NAT initiates the TCP connection,
the NAT device need no special configuration. It is not clear from your
description who initiates the connection. If you have some client behind
a NAT which initiates a connection it shouldn't be a problem. If you
have a server behind a NAT device, waiting for incoming requests, it is
a problem.
Again, in both cases firewalls are a separate issue. Only because
typical devices do both (and many other things), doesn't mean you should
mix the problems, because the fixes are different.
Regarding SOHO NAT devices ("routers"). Many of them are
remote/application configurable via UPnP these days. From a security
point of view this is a nightmare. But if your client runs such a
device, you could use UPnP to discover the device, and then configure
it. However, UPnP is not fun. And, it uses SOAP. And once you start
using SOAP, you could think about using that for your application, too,
instead of raw data.
> Which brings up another question.. Does http have a way of SENDING
> unarmoured binary to the server, or only the other way?
A POST with an application/octet-stream mime type should do. But there
is no guarantee that a particular firewall won't find this format
objectionable.
/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/...g/java/gui/faq
http://www.uni-giessen.de/faq/archiv....java.gui.faq/