/* Mutex protecting send operations on the socket (to ensure that replies
* are not accidentally interleaved). */
GMutex *send_lock;
+
+ /* Is this a UDP connection? */
+ gboolean udp_transport;
+
+ /* For UDP connections only, the address of the sender. */
+ struct sockaddr_in peer;
+
+ /* For UDP only, a buffer for accumulating the full contents of a message
+ * before it is sent */
+ GString *sendbuf;
} RPCConnection;
/* Linked list of cleanup functions to call when a request is completed. */