Archived
This forum has been archived. Please start a new discussion on GitHub.
About endpoints use udp
areslp
in Help Center
I tried the sample code in the Ice-3.3.0.pdf book, and it works fine.
I want to Ice use udp protocol to transfer, so I changed the server code to:
changed the client code to:
But it gave me a Ice::NoEndpointException error.
Could someone tell me where I was doing wrong?Thanks a lot!
I want to Ice use udp protocol to transfer, so I changed the server code to:
Ice::ObjectAdapterPtr adapter = ic->createObjectAdapterWithEndpoints( "SimplePrinterAdapter", "udp -p 10000");
changed the client code to:
Ice::ObjectPrx base = ic->stringToProxy( "SimplePrinter:udp -p 10000");
But it gave me a Ice::NoEndpointException error.
Could someone tell me where I was doing wrong?Thanks a lot!
0
