Results 1 to 4 of 4

Thread: there is a question about socket's port

  1. #1
    freshman is offline Registered User
    Join Date
    Aug 2004
    Posts
    38

    there is a question about socket's port

    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.

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    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 info@zeroc.com.)

  3. #3
    freshman is offline Registered User
    Join Date
    Aug 2004
    Posts
    38

    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.
    Last edited by freshman; 05-29-2005 at 08:44 PM.

  4. #4
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Socket operation on non-socket local address
    By Oleh Babyak in forum Bug Reports
    Replies: 1
    Last Post: 04-03-2009, 10:12 AM
  2. socket error
    By Edward Bishop in forum Help Center
    Replies: 7
    Last Post: 03-02-2007, 04:29 AM
  3. Socket binding problem
    By Xlinthisias in forum Bug Reports
    Replies: 1
    Last Post: 04-11-2006, 08:05 AM
  4. can i control socket?
    By TyraelTong in forum Help Center
    Replies: 2
    Last Post: 08-17-2004, 11:56 PM
  5. raw socket support
    By fengxb in forum Help Center
    Replies: 1
    Last Post: 01-03-2004, 06:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •