aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-29 17:34:57 -0400
committerDeterminant <[email protected]>2019-06-29 17:34:57 -0400
commitf3c624b8a1577a7b3f8efb408421450b5d23a7e5 (patch)
treeef2df5227d6fc0d5681e9962ea54460c3279426d
parentbbd7fad4b9fc657780fa35dcdc979e72200eb053 (diff)
...
-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