Searched refs:new_sock (Results 1 – 3 of 3) sorted by relevance
30 new_sock = sock.dup()32 share = new_sock.share(pid)34 self._id = _resource_sharer.register(send, new_sock.close)
580 std::unique_ptr<UnixSocket> new_sock( in OnEvent() local583 event_listener_->OnNewIncomingConnection(this, std::move(new_sock)); in OnEvent()
914 int new_sock = accept(listen_socket, (struct sockaddr *)&sai, &sz); in TEST() local915 ASSERT_LT(0, new_sock); in TEST()920 res = getpeername(new_sock, (struct sockaddr *)&sai, &sz); in TEST()925 close(new_sock); in TEST()