Home Help Center

there is a question about socket's port

freshmanfreshman Member ✭✭
the question is like this:

client can call the servant object in server, so there is a port in server,but there isn't a port in client.

I mean that there should be a port(socket's port) which the request client sends will pass by,but I can't see it in the demo's codes and the config file, and I must appoint a port in the client in my project,so I wonder what should I do.

Thank you very much.

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    There is no possibility to manually choose a client-side port (i.e., a port used for outgoing connections) in Ice. This port is always chosen automatically. (If you have a commercial need for an extension that allows you to manually choose client-side ports, please contact us at [email protected].)
  • freshmanfreshman Member ✭✭
    If I modify the source of Ice, will I be successful?

    if it is, could you tell me which file(.h & .cpp) and which function I must do something in?

    BTW,it isn't a commercial need.

    Thank you very much.
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    I'm afraid this is not a simple change, that I could describe here in a newsgroup posting. This would take me a day or so to implement.
Sign In or Register to comment.