diff options
author | Dirk Huss <dirk_huss@mentor.com> | 2015-12-09 14:50:34 +0100 |
---|---|---|
committer | Dirk Huss <dirk_huss@mentor.com> | 2015-12-09 14:50:34 +0100 |
commit | 2b7442a4c2452f8f3bd9e0f09f829478256d39af (patch) | |
tree | e857c964b2a0a5d7e539efa00d17e6dccec5990a /implementation/endpoints/src/local_client_endpoint_impl.cpp | |
parent | 78be04b467566633318a277ccd2d968c1c4e46bf (diff) | |
download | vSomeIP-2b7442a4c2452f8f3bd9e0f09f829478256d39af.tar.gz |
vSomeIP 2.0.12.0.1
Diffstat (limited to 'implementation/endpoints/src/local_client_endpoint_impl.cpp')
-rw-r--r-- | implementation/endpoints/src/local_client_endpoint_impl.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/implementation/endpoints/src/local_client_endpoint_impl.cpp b/implementation/endpoints/src/local_client_endpoint_impl.cpp index 323c414..116287f 100644 --- a/implementation/endpoints/src/local_client_endpoint_impl.cpp +++ b/implementation/endpoints/src/local_client_endpoint_impl.cpp @@ -38,14 +38,9 @@ void local_client_endpoint_impl::start() { void local_client_endpoint_impl::connect() {
socket_.open(remote_.protocol());
- socket_.async_connect(
- remote_,
- std::bind(
- &local_client_endpoint_base_impl::connect_cbk,
- shared_from_this(),
- std::placeholders::_1
- )
- );
+ boost::system::error_code error;
+ error = socket_.connect(remote_, error);
+ connect_cbk(error);
}
void local_client_endpoint_impl::receive() {
|