IMHO, that's actually just the hostname of the machine you're trying to connect to. Nothing more.
Tspi_Context_Connect() calls RPC_OpenContext() where the parameter is already called hostname. Get's added to the hostname-field of a struct host_table_entry and finally used for get_addr_info in rpc.c:481 If you wanted however, you could extend the scheme here to say "json-rpc+https://somehost/some/path" if it becomes necessary. That's why it's left open. So extend RPC schemes in the future without breaking the spec. That's IMHO a good reason. ________________________________________ From: Ken Goldman [[email protected]] Sent: Wednesday, September 17, 2014 17:15 To: [email protected] Subject: [TrouSerS-tech] Tspi_Context_Connect 'bug' The Tspi_Context_Connect command 2nd parameter man page says: "A null terminated unicode string which specifies the local or remote system to which one will be connected." This parameter is underspecified to the point that it cannot be used. While the trousers code might be correct, the missing documentation and complete lack of comments in the code make it impossible to call this function with confidence. Is there anyone who could work through the code and document the parameter? ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
