$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] udp::endpoint - port change
From: Alexander Carôt (Alexander_Carot_at_[hidden])
Date: 2016-05-03 14:09:53
Hello all,
probably trivial but I am currently stuck with this:
I create a UDP endpoint via
udp::resolver::query query(udp::v4(),IP,port);
destinationEndpoint = new udp::endpoint(*resolver.resolve(query));
but after the creation I want to change the port without deleting and recreating it with different parameters.
How can I do this ?
Thanks in advance,
best
Alex