--- src/netconn.c.orig 2006-04-25 16:32:32.000000000 +1000 +++ src/netconn.c 2006-04-25 19:23:29.000000000 +1000 @@ -409,6 +409,7 @@ int openNetConn(NetConn * nc) { int sock_flag; + int buflen = 64000; nc->active = 1; // default to 'active' // We have to have a port number @@ -532,6 +533,8 @@ } #endif } + if (setsockopt(nc->sock, SOL_SOCKET, SO_SNDBUF, (void *) &buflen, sizeof(buflen)) < 0) perror("Trying to set SNDBUF"); + if (setsockopt(nc->sock, SOL_SOCKET, SO_RCVBUF, (void *) &buflen, sizeof(buflen)) < 0) perror("Trying to set RCVBUF"); if(nc->active) { if(nc->is_listener) {