-/* $Id$ */
-
/* transport - low level communication (send/receive bunches of bytes) */
/* module's public interface exported to end user. */
-/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/** \brief Simply create a server socket (to ear from remote hosts speaking to you) */
XBT_PUBLIC(gras_socket_t) gras_socket_server(unsigned short port);
XBT_PUBLIC(void) gras_socket_close(gras_socket_t sd);
+XBT_PUBLIC(void) gras_socket_close_voidp(void *sock);
/** \brief Create a client socket, full interface to all relevant settings */
XBT_PUBLIC(gras_socket_t) gras_socket_client_ext(const char *host,