Am 26.09.2011 18:09, schrieb Andrea Fontana: > I'm working on a simple server written in d. I use a SocketSet to > check requests from clients. > > I have to send back response and close connection. Is there a method > to check if socket sent data or not with an async socket (so i can > close it)?
Simply use SocketSet and do some kind of select. You'll read 0 bytes from it, if it has disconnected.