git: tools/kq_connect_client: Add option to create UDP socket before connect
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Wed Aug 13 06:05:00 PDT 2014
commit 626b6155e27e4e23e44f7d2b4d06c1480379e122
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Wed Aug 13 20:58:32 2014 +0800
tools/kq_connect_client: Add option to create UDP socket before connect
And do connect and send 18B datagram before closing the UDP socket. This
simulates DNS resolving, though this UDP socket does not receive a reply.
Summary of changes:
.../kq_connect_client/kq_connect_client.c | 49 ++++++++++++++++++----
1 file changed, 40 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/626b6155e27e4e23e44f7d2b4d06c1480379e122
--
DragonFly BSD source repository
More information about the Commits
mailing list