summaryrefslogtreecommitdiff
path: root/src/net/comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/comm.c')
-rw-r--r--src/net/comm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/comm.c b/src/net/comm.c
index 7f9c6c4..042cb00 100644
--- a/src/net/comm.c
+++ b/src/net/comm.c
@@ -25,7 +25,7 @@ bool net_recv(const int sock, const msg_type_t type)
recv(sock, &m.hdr, sizeof(msg_header_t), 0); // Remove message header from socket
recv(sock, m.payload, m.hdr.payload_length, 0);// And then receive the payload
- printf("net_recv: received msg type %d with payload length %d\n", m.hdr.type, m.hdr.payload_length);
+ //printf("net_recv: received msg type %d with payload length %d\n", m.hdr.type, m.hdr.payload_length);
switch(type)
{
@@ -97,7 +97,7 @@ bool net_send(const int sock, const msg_type_t type, const void *data)
break;
}
- printf("net_send: sending msg type %d with payload length %d\n", m.hdr.type, m.hdr.payload_length);
+ //printf("net_send: sending msg type %d with payload length %d\n", m.hdr.type, m.hdr.payload_length);
send(sock, &m, sizeof(msg_header_t), 0); // Send message header first
send(sock, m.payload, m.hdr.payload_length, 0); // Then send payload