just trying to establish an RPC-connection between a client and server
program
using TCPIP as supported protocol.
But when executing function :
rStat = RpcServerUseProtseqEp ("ncacn_ip_tcp",
1,
// max number of clients
"192.168.100.68[1000]", // pszEndpoint
NULL);
// security
do I get an error
RpcServerUseProtseqEp failed with 1706
The endpoint format is invalid.
What is the correct format ?
Thanks
Chris
"1000"
The IP is your current IP so you don't need to provide it. Only client
needs to know the server's IP.
At least it's how my hello-world RPC application worked.
HaveABeer
I didn't get any valuable answers : so just resending my request, but thanks
anyway for those who replied
I'm trying to establish an RPC-connection between a client and server
program using TCPIP as supported protocol.
But when executing function :
rStat = RpcServerUseProtseqEp (
"ncacn_ip_tcp",
1,
// max number of clients
"192.168.100.68[1000]", // pszEndpoint
NULL);
do I get an error
RpcServerUseProtseqEp failed with 1706
The endpoint format is invalid.
What is the correct format ?
You must specify both an IP-address and a port number (=1000)
Thanks
Chris
Christian Cambier wrote in message <7os38m$3ss$1...@news3.Belgium.EU.net>...
The correct format for specifying a port is indeed "192.168.100.68:1000"
When combined with the "ncacn_ip_tcp" protocol sequence, this is exactly how it
should be done.
When using the original format with angle braces, then the protocol sequence
must be prepended: "ncacn_ip_tcp:192.168.100.68[1000]"
If these doesn't work, then there is something wrong with your RPC setup.
Ciao
Igor