|
|
@ -147,7 +147,7 @@ namespace gp{ |
|
|
|
return ret; |
|
|
|
} |
|
|
|
|
|
|
|
static std::pair<shared_fd,shared_fd> unix_socketpair(const net_socket_protocol& proto, const socket_opt_flags flags) { |
|
|
|
static std::pair<shared_fd,shared_fd> unix_socket_pair(const net_socket_protocol& proto, const socket_opt_flags flags) { |
|
|
|
std::pair<gp::shared_fd, gp::shared_fd> ret; |
|
|
|
int fds[2]; |
|
|
|
auto result = ::socketpair((int)AF_UNIX, (int)proto, (int)flags, fds); |
|
|
|