Home Help Center

[help]how to connect a server by ip?

joisejoise Member
i am new! please help me!

i want to connect another server by udp, the server does not use ice, i know the server's ip and port,how can i connect it? i don't want to use native socket

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi and welcome to the forums!

    Could you please set your signature as described in [thread=1697]this thread[/thread]?

    Also, it's not clear to me what you're trying to do. You're trying to get an Ice client to talk to a server which is not using Ice?

    Cheers,
    Benoit.
  • joisejoise Member
    thanks for your applying

    yes,Our system communicate each other through ice,but now i need communicate an outer system. The outer system just provide the interface through udp,so i have to send an udp packet to it and recv an udp packet.

    i don't want to write native socket code to implement it,can i achieve it throuth ICE?
  • joisejoise Member
    o, so strange

    i have set my signature but why it does not show it on my reply?
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    It looks like your signature works on this last post.

    Ice clients can only talk to Ice servers. You won't be able to use Ice to talk to a server which doesn't understand the Ice protocol. So it looks like you'll have to write some socket code to talk to this exernal system... or perhaps this system can be change to use Ice instead ;).

    Cheers,
    Benoit.
  • joisejoise Member
    the same thanks to you

    o,i see!

    thanks a lot,:)
Sign In or Register to comment.