aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network.go8
m---------salticidae0
2 files changed, 4 insertions, 4 deletions
diff --git a/network.go b/network.go
index e97821b..6e0d8c6 100644
--- a/network.go
+++ b/network.go
@@ -402,8 +402,8 @@ func (self PeerNetwork) Listen(listenAddr NetAddr, err *Error) {
}
// Send a message to the given peer.
-func (self PeerNetwork) SendMsg(msg Msg, addr NetAddr) {
- C.peernetwork_send_msg(self.inner, msg.inner, addr.inner)
+func (self PeerNetwork) SendMsg(msg Msg, addr NetAddr) bool {
+ return bool(C.peernetwork_send_msg(self.inner, msg.inner, addr.inner))
}
// Send a message to the given peer, using a worker thread to seralize and put
@@ -512,8 +512,8 @@ func (self ClientNetworkConn) Copy() ClientNetworkConn {
func (self ClientNetworkConn) free() { C.clientnetwork_conn_free(self.inner) }
// Send a message to the given client.
-func (self ClientNetwork) SendMsg(msg Msg, addr NetAddr) {
- C.clientnetwork_send_msg(self.inner, msg.inner, addr.inner)
+func (self ClientNetwork) SendMsg(msg Msg, addr NetAddr) bool {
+ return bool(C.clientnetwork_send_msg(self.inner, msg.inner, addr.inner))
}
// Send a message to the given client, using a worker thread to seralize and put
diff --git a/salticidae b/salticidae
-Subproject 5f617d88a399f276133b4187eb31ca49e5f1338
+Subproject b06eef583fb9084f29e416a1af7555de4a73f76