return TRUE;
}
-void
+int
hc_conn_set_driver_channel (HCConn *conn, int fd)
{
struct channel_layer *layer = g_slice_new (struct channel_layer);
if (conn->func)
conn->func (conn, HC_EVENT_CONNECT, conn->data);
fcntl (fd, F_SETFL, fcntl (fd, F_GETFL, 0) | O_NONBLOCK);
+ return 0;
}