Re: How Can I call close() for all



sreyas.jose@xxxxxxxxx writes:

my doubt is if I cose like this whether all the clients that are
connected to the server will close graceful or not..?

That depends on the client, and what you mean by graceful. Next time
they try to do IO on the socket, the call will fail. What happens
next is up to the client.
.



Relevant Pages

  • Re: Socket.Send() succeeds, but remote end point closed the connection
    ... Client connects to server and sends data sucessfully ). ... I see the server connection status go from ESTABLISHED to FIN_WAIT2, the client connection go from ESTABLISHED to WAIT_CLOSE. ... What you describe is not graceful close by server. ... CLOSE_WAIT means that other side has shutdown it's outgoing side of connection, but you may send until you shutdown your side. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Socket disconnect on client end
    ... I want to be able to tell when a socket gets disconnected ... by the client so I can have a graceful end to the connection's thread. ... Right now when a client disconnects I get all kinds of exceptions from ...
    (comp.lang.java.programmer)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • [Full-Disclosure] R: Full-Disclosure Digest, Vol 3, Issue 42
    ... Full-Disclosure Digest, Vol 3, Issue 42 ... SD Server 4.0.70 Directory Traversal Bug ... Arkeia Network Backup Client Remote Access ...
    (Full-Disclosure)