Mercurial > hg > fxanalyse
comparison 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 |
comparison
equal
deleted
inserted
replaced
261:a03df7dc98f8 | 262:ebbe0f198322 |
---|---|
16 struct xsocket * xsocket(const char *hostname, const int port); | 16 struct xsocket * xsocket(const char *hostname, const int port); |
17 int xconnect(struct xsocket *s); | 17 int xconnect(struct xsocket *s); |
18 int xsend(struct xsocket *s, const char *data, size_t len); | 18 int xsend(struct xsocket *s, const char *data, size_t len); |
19 int xrecv(struct xsocket *s, char *buffer, size_t len); | 19 int xrecv(struct xsocket *s, char *buffer, size_t len); |
20 | 20 |
21 int msend(struct xsocket *s, const char *data, size_t len); | 21 int xcommand(struct xsocket *s, const char *frmt, ...); |
22 int mrecv(struct xsocket *s, char *buffer, size_t len); | 22 int xask(struct xsocket *s, const char *data, size_t datalen, char *buffer, size_t len); |
23 | |
24 int command(struct xsocket *s, char *frmt, ...); | |
25 | 23 |
26 #endif | 24 #endif |