Replace select with poll.
[platform/upstream/iotivity.git] / resource / csdk / connectivity / api / cacommon.h
index 7810b0d..c0593e0 100755 (executable)
@@ -609,7 +609,6 @@ typedef struct
 #endif
 #endif
         int selectTimeout;          /**< in seconds */
-        int maxfd;                  /**< highest fd (for select) */
         bool started;               /**< the IP adapter has started */
         bool terminate;             /**< the IP adapter needs to stop */
         bool ipv6enabled;           /**< IPv6 enabled by OCInit flags */
@@ -650,7 +649,6 @@ typedef struct
         int shutdownFds[2];     /**< shutdown pipe */
 #endif
         int connectionFds[2];   /**< connection pipe */
-        int maxfd;              /**< highest fd (for select) */
         bool started;           /**< the TCP adapter has started */
         bool terminate;         /**< the TCP adapter needs to stop */
         bool ipv4tcpenabled;    /**< IPv4 TCP enabled by OCInit flags */