# # Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) # # Distributed under the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # import os ; lib socket ; # SOLARIS lib nsl ; # SOLARIS lib ws2_32 ; # NT lib mswsock ; # NT lib ipv6 ; # HPUX lib network ; # HAIKU if [ os.name ] = NT { lib ssl : : ssleay32 ; lib crypto : : libeay32 ; } else { lib ssl ; lib crypto ; } project : requirements /boost/system//boost_system /boost/chrono//boost_chrono BOOST_ALL_NO_LIB=1 multi solaris:socket solaris:nsl windows:_WIN32_WINNT=0x0501 windows,gcc:ws2_32 windows,gcc:mswsock windows,gcc-cygwin:__USE_W32_SOCKETS hpux,gcc:_XOPEN_SOURCE_EXTENDED hpux:ipv6 haiku:network ssl crypto ; exe client : client.cpp ; exe server : server.cpp ;