version 1.16.2.1, 2015/01/15 20:39:11
|
version 1.16.2.2, 2015/01/18 01:07:10
|
Line 188 rpc_Read(int sock, int type, int flags, sockaddr_t * _
|
Line 188 rpc_Read(int sock, int type, int flags, sockaddr_t * _
|
} |
} |
if (type == SOCK_STREAM) |
if (type == SOCK_STREAM) |
ret = recv(sock, buf, len, flags); |
ret = recv(sock, buf, len, flags); |
|
else if (type == SOCK_EXT) |
|
ret = read(sock, buf, len); |
else if (type == SOCK_BPF && sa) { |
else if (type == SOCK_BPF && sa) { |
ret = read(sock, AIT_GET_BUF(&v), AIT_LEN(&v)); |
ret = read(sock, AIT_GET_BUF(&v), AIT_LEN(&v)); |
if (ret > 0) { |
if (ret > 0) { |
Line 311 rpc_Write(int sock, int type, int flags, sockaddr_t *
|
Line 313 rpc_Write(int sock, int type, int flags, sockaddr_t *
|
} |
} |
if (type == SOCK_STREAM) |
if (type == SOCK_STREAM) |
ret = send(sock, buf, len, flags); |
ret = send(sock, buf, len, flags); |
|
else if (type == SOCK_EXT) |
|
ret = write(sock, buf, len); |
else if (type == SOCK_BPF && sa) { |
else if (type == SOCK_BPF && sa) { |
ret = write(sock, AIT_GET_BUF(&v), AIT_LEN(&v)); |
ret = write(sock, AIT_GET_BUF(&v), AIT_LEN(&v)); |
} else if (sa) |
} else if (sa) |