2 # Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
4 # Distributed under the Boost Software License, Version 1.0. (See accompanying
5 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10 lib socket ; # SOLARIS
19 lib ssl : : <name>ssleay32 ;
20 lib crypto : : <name>libeay32 ;
30 <library>/boost/system//boost_system
31 <library>/boost/chrono//boost_chrono
32 <define>BOOST_ALL_NO_LIB=1
34 <target-os>solaris:<library>socket
35 <target-os>solaris:<library>nsl
36 <target-os>windows:<define>_WIN32_WINNT=0x0501
37 <target-os>windows,<toolset>gcc:<library>ws2_32
38 <target-os>windows,<toolset>gcc:<library>mswsock
39 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
40 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
41 <target-os>hpux:<library>ipv6
42 <target-os>haiku:<library>network
47 exe client : client.cpp ;
48 exe server : server.cpp ;