Results 1 to 6 of 6

Thread: ice should decrease port

  1. #1
    hellocyf is offline Registered User
    Join Date
    Jun 2004
    Location
    shanghai,China
    Posts
    26

    Question ice should decrease port

    1.ice application has too much port,and these ports are variable.
    it is diffcult to set policy in servers;
    2.two way appliction need client open the client port,it makes troubles
    to admin server. tcp/ip app could do two way operation when client has connected on server,neednot,client to open Port.

    for example icegridnode.icegridadmin.
    yuefeng chen
    http://www.mengdy.net
    attention to ice grid

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    #1: Unless you are talking about *specific* Ice applications (such as IceStorm, IceGrid, etc.) Ice applications open as many ports as you specify, and furthermore you define what these ports are. So please be more specific.

    #2: You can use bi-directional communications if you don't want the a server to open a separate connection back to a client for callback purposes. See the Ice manual for more details, or the demo in demo/Ice/bidir for an example.

  3. #3
    hellocyf is offline Registered User
    Join Date
    Jun 2004
    Location
    shanghai,China
    Posts
    26

    Smile thanks for reply

    thanks!Matthew Newhook
    I only use icegrid to integrate my application.
    so only icegridnode and icepatch2 will be used in my appication.

    is icegridnode and icepatch2 could config as bi-directional communications ?
    yuefeng chen
    http://www.mengdy.net
    attention to ice grid

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    No it's not possible, the IceGrid node must listen on a port. The IceGrid node could use bi-directional connections to connect to the registry and therefore not listen on any interfaces but this would probably introduce few limitations (such as the registry couldn't contact anymore the node on startup to notify the node that it's up again). I'm also not convinced this would be really useful: typically the node is hosting servers and these servers are also listening for incoming connections on some ports.

    I don't see why IcePatch2 would need bi-directional connections as the IcePatch2 server doesn't make any callbacks on the client.

    Cheers,
    Benoit.

  5. #5
    hellocyf is offline Registered User
    Join Date
    Jun 2004
    Location
    shanghai,China
    Posts
    26

    thanks

    "the IceGrid node must listen on a port",agree,that's all.
    I will test it.

    advise,
    1.
    I think,Icegridgui normaly runs at client,so it need not listen on a port
    for call back.it act as only admin.

    2.
    icepatch2,
    may be can update serverpatch file in remote.
    now ,I need upload files to server by ftp,and run icepatch2calc . on server.

    can it simpfy like that:
    admin's computer patch file sync with patchserver files with one command.
    (could not find in doc.).

    and patchserver files sync all nodes(has works fine)
    yuefeng chen
    http://www.mengdy.net
    attention to ice grid

  6. #6
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Quote Originally Posted by hellocyf
    "the IceGrid node must listen on a port",agree,that's all.
    I will test it.

    advise,
    1.
    I think,Icegridgui normaly runs at client,so it need not listen on a port
    for call back.it act as only admin.
    Correct, the GUI doesn't listen on any ports.

    2.
    icepatch2,
    may be can update serverpatch file in remote.
    now ,I need upload files to server by ftp,and run icepatch2calc . on server.

    can it simpfy like that:
    admin's computer patch file sync with patchserver files with one command.
    (could not find in doc.).

    and patchserver files sync all nodes(has works fine)
    Yes, it's not possible to update the IcePatch2 server remotely. You have to copy the files where the IcePatch2 server is expecting them and run icepatch2calc.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. POSIX port of Ice
    By cospan in forum Projects
    Replies: 2
    Last Post: 11-06-2009, 07:18 PM
  2. OpenBSD Port of Ice?
    By msw10100 in forum Help Center
    Replies: 0
    Last Post: 07-30-2005, 02:48 PM
  3. A question about decrease memory
    By laotee in forum Help Center
    Replies: 5
    Last Post: 06-27-2005, 05:25 AM
  4. how to bind ice server with *:port ?
    By pi1ot in forum Help Center
    Replies: 2
    Last Post: 06-20-2005, 07:15 AM
  5. Would ICE be port to Delphi
    By 3100 in forum Help Center
    Replies: 0
    Last Post: 07-20-2004, 02:03 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
  •