Using recv instead of read, for slightly non-blocking reads, without losing blocking writes

This commit is contained in:
Michael Jumper
2010-09-06 22:57:53 -07:00
parent 9eb796bf94
commit 5a5be19518
3 changed files with 7 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
typedef struct GUACIO {
int fd;
int fd;
int ready;
int ready_buf[3];