Archived
This forum has been archived. Please start a new discussion on GitHub.
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!
thanks very much!
0
Comments
-
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.0 -
i will take a look at Glacier, thank you very much!respectly!0