Rudiments
serversocket.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3 
4 #ifdef RUDIMENTS_HAS_SSL
5  protected:
6  BIO *newSSLBIO() const;
7  bool sslAccept(filedescriptor *sock);
8 #endif
9  ssize_t lowLevelRead(void *buf, ssize_t count) const;
10  ssize_t lowLevelWrite(const void *buf, ssize_t count) const;
11  int32_t lowLevelClose();
12 
13  private:
14  bool setLingerOnClose(int32_t timeout, int32_t onoff);
15  bool setReuseAddresses(int32_t onoff);
16 
17  serversocketprivate *pvt;