-gras_socket_t gras_socket_server_ext(unsigned short port,
- unsigned long int bufSize,
- int measurement);
-/* @}*/
-/** \name Retrieving data about sockets and peers
- * \ingroup GRAS_sock
- *
- * Who are you talking to?
- */
-/* @{*/
-
-/** Get the port number on which this socket is connected on my side */
-int gras_socket_my_port (gras_socket_t sock);
-/** Get the port number on which this socket is connected on remote side */
-int gras_socket_peer_port(gras_socket_t sock);
-/** Get the host name of the remote side */
-char *gras_socket_peer_name(gras_socket_t sock);
-/* @}*/
-
-/** \name Using measurement sockets
- * \ingroup GRAS_sock
- *
- * You may want to use sockets not to exchange valuable data (in messages),
- * but to conduct some bandwidth measurements and related experiments. If so, try those measurement sockets.
- *
- * You can only use those functions on sockets openned with the "measurement" boolean set to true.
- *
- */
-/* @{*/
+XBT_PUBLIC(xbt_socket_t) gras_socket_server_ext(unsigned short port,
+ unsigned long int bufSize,
+ int measurement);
+XBT_PUBLIC(xbt_socket_t)
+ gras_socket_server_range(unsigned short minport, unsigned short maxport,
+ unsigned long int buf_size, int measurement);