3 /* sg_transport - SG specific functions for transport */
5 /* Authors: Martin Quinson */
6 /* Copyright (C) 2004 Martin Quinson. */
8 /* This program is free software; you can redistribute it and/or modify it
9 under the terms of the license (GNU LGPL) which comes with this package. */
11 #include "Transport/transport_private.h"
12 //GRAS_LOG_EXTERNAL_CATEGORY(transport);
13 //GRAS_LOG_DEFAULT_CATEGORY(transport);
18 * Returns the next socket to service having a message awaiting.
20 * if timeout<0, we ought to implement the adaptative timeout (FIXME)
22 * if timeout=0, do not wait for new message, only handle the ones already there.
24 * if timeout>0 and no message there, wait at most that amount of time before giving up.
27 gras_trp_select(double timeout,
28 gras_socket_t **dst) {