From 9d099f181674ae075aa8ccaeb56acc7b732638af Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 19 Jan 2009 21:46:48 +0000 Subject: This should fix the problem of never knowing if your sockets are closed. Now Bu::Socket::read will throw an exception if the socket has been closed. Also, you'll get an exception at object creation if the socket could connect to a computer, but not the given port. --- src/linux_compatibility.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/linux_compatibility.h') diff --git a/src/linux_compatibility.h b/src/linux_compatibility.h index 67016a7..6d3d85e 100644 --- a/src/linux_compatibility.h +++ b/src/linux_compatibility.h @@ -15,6 +15,8 @@ #define bu_bind bind #define bu_listen listen #define bu_accept accept +#define bu_send send +#define bu_recv recv #define bu_gai_strerror gai_strerror -- cgit v1.2.3