Mercurial > hg > fxanalyse
diff xsocket.h @ 262:ebbe0f198322
Fix DDS client connection retry
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 16 Jun 2015 17:16:11 +0200 |
parents | a03df7dc98f8 |
children |
line wrap: on
line diff
--- a/xsocket.h Tue Jun 16 15:09:23 2015 +0200 +++ b/xsocket.h Tue Jun 16 17:16:11 2015 +0200 @@ -18,9 +18,7 @@ int xsend(struct xsocket *s, const char *data, size_t len); int xrecv(struct xsocket *s, char *buffer, size_t len); -int msend(struct xsocket *s, const char *data, size_t len); -int mrecv(struct xsocket *s, char *buffer, size_t len); - -int command(struct xsocket *s, char *frmt, ...); +int xcommand(struct xsocket *s, const char *frmt, ...); +int xask(struct xsocket *s, const char *data, size_t datalen, char *buffer, size_t len); #endif