#include #include #include #include "buffer.h" int buffer_unix_read(int fd,char *buf,unsigned int len) { return read(fd,buf,len); } int buffer_tcp_read(int fd,char *buf, unsigned int len) { return recv(fd, buf,len,0); }