Sockets are a transport mechanism. The end points on both sides will be
IPADDRESS:PORT. Nothing else. Once you have your socket connect built
between the two points, you then have to send commands back and forth.
Those commands make up the protocol that you are using. Protocols are
things like HTTP, FTP, SMTP, POP, etc. Those commands are where you
dictate which sub folders you want to use. You say in the message header
that you want to do this as HTTPS - that is simply HTTP over an SSL
socket. If that is truly the case, then you need to do a lot of work to
build and connect that socket securely and then speak HTTP across the
connection. If this is what you are trying to do, then you are probably
better off using Scott's HTTPAPI service program to do this.
http://www.scottklement.com/httpapi/
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Versfelt, Charles
Sent: Tuesday, January 26, 2010 10:54 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG sockets HTTPS subfolder
<snip>
I can't find in any of the sockets documentation how to specify the
sub1/sub2 part of the URL.
I thought perhaps the entire URL has to be part of the Host Table Entry,
but it didn't like it.
Where do I define the URL with the "sub1/sub2" and tell it to send my
data there?
Thanks,
Charlie
<snip>
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
As an Amazon Associate we earn from qualifying purchases.