Exemplo n.º 1
0
	long Socket::nonblock_send(
		const void *buf,
		const size_t length,
		const std::chrono::milliseconds &timeout
	) const noexcept {
		return nonblock_send_all(
			this->socket_handle,
			buf,
			length,
			timeout
		);
	}
Exemplo n.º 2
0
	long Socket::nonblock_send(const std::vector<std::string::value_type> &buf, const size_t length, const std::chrono::milliseconds &timeout) const
	{
		return nonblock_send_all(this->socket_handle, buf.data(), length, timeout);
	}
Exemplo n.º 3
0
	long Socket::nonblock_send(const std::string &buf, const std::chrono::milliseconds &timeout) const
	{
		return nonblock_send_all(this->socket_handle, buf.data(), buf.length(), timeout);
	}