face: handle error in TCP socket remote_endpoint
refs #5158
Change-Id: I67fa134cd01a80a4f91122bbdcfc64e089d8145e
diff --git a/daemon/face/tcp-channel.hpp b/daemon/face/tcp-channel.hpp
index 788fdc1..bc6fba4 100644
--- a/daemon/face/tcp-channel.hpp
+++ b/daemon/face/tcp-channel.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2021, Regents of the University of California,
+ * Copyright (c) 2014-2022, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -98,7 +98,8 @@
void
createFace(boost::asio::ip::tcp::socket&& socket,
const FaceParams& params,
- const FaceCreatedCallback& onFaceCreated);
+ const FaceCreatedCallback& onFaceCreated,
+ const FaceCreationFailedCallback& onFaceCreationFailed);
void
accept(const FaceCreatedCallback& onFaceCreated,