From: mquinson Date: Tue, 16 May 2006 20:02:54 +0000 (+0000) Subject: I want to know the name of the process on the other side (but this doesn't work yet) X-Git-Tag: v3.3~3132 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/579c7b3bbc3945931795306ccf3a151729af5247?ds=sidebyside;hp=e08f500c7f79bd07b9a3db65b57a1d6c808f28d8 I want to know the name of the process on the other side (but this doesn't work yet) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2226 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/gras/transport.h b/include/gras/transport.h index fbbbd5d55c..a5cc24235d 100644 --- a/include/gras/transport.h +++ b/include/gras/transport.h @@ -65,6 +65,8 @@ int gras_socket_my_port (gras_socket_t sock); 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); +/** Get the process name of the remote side */ +char *gras_socket_peer_proc(gras_socket_t sock); /* @}*/ /** \defgroup GRAS_sock_meas Using measurement sockets