forked from artyom-beilis/cppcms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsend_timeout.h
22 lines (18 loc) · 852 Bytes
/
send_timeout.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <[email protected]>
//
// See accompanying file COPYING.TXT file for licensing details.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef CPPCMS_IMPL_SEND_TIMEOUT_H
#define CPPCMS_IMPL_SEND_TIMEOUT_H
#include <booster/aio/stream_socket.h>
#include <booster/system_error.h>
namespace cppcms {
namespace impl {
void set_send_timeout(booster::aio::stream_socket &sock,int seconds,booster::system::error_code &e);
void set_send_timeout(booster::aio::stream_socket &sock,int seconds);
} // impl
} // cppcms
#endif