--- libaitrpc/src/aitrpc.c 2015/01/15 01:42:37 1.16 +++ libaitrpc/src/aitrpc.c 2015/01/21 21:17:05 1.17 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.c,v 1.16 2015/01/15 01:42:37 misho Exp $ +* $Id: aitrpc.c,v 1.17 2015/01/21 21:17:05 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2014 +Copyright 2004 - 2015 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -188,6 +188,8 @@ rpc_Read(int sock, int type, int flags, sockaddr_t * _ } if (type == SOCK_STREAM) ret = recv(sock, buf, len, flags); + else if (type == SOCK_EXT) + ret = read(sock, buf, len); else if (type == SOCK_BPF && sa) { ret = read(sock, AIT_GET_BUF(&v), AIT_LEN(&v)); if (ret > 0) { @@ -311,6 +313,8 @@ rpc_Write(int sock, int type, int flags, sockaddr_t * } if (type == SOCK_STREAM) ret = send(sock, buf, len, flags); + else if (type == SOCK_EXT) + ret = write(sock, buf, len); else if (type == SOCK_BPF && sa) { ret = write(sock, AIT_GET_BUF(&v), AIT_LEN(&v)); } else if (sa)