Home Help Center

can i control socket?

i want to use ice to develop a server application.the client and server use a tcp connect to communicate,after connected, client need to send a username and password,if it doesn't match, server need to close the tcp connect between this client and server. can ice do this?
thanks very much!


  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    No, you cannot do this, i.e., you do not have control over the connection. Note that Ice closes connections also if they are idle, and reopens them transparently, so if a connection drops, it doesn't have to mean that the client or server crashed, or that access was denied.

    Have a look at Glacier in the Ice manual. Glacier is the Ice firewall service, which provides user-id/password checks, and also session management.
  • TyraelTongTyraelTong Member
    i will take a look at Glacier, thank you very much!respectly!
Sign In or Register to comment.