xtd 0.2.0
Loading...
Searching...
No Matches
transmit_file_options.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../../enum.hpp"
6
8#undef disconnect
10
12namespace xtd {
14 namespace net {
16 namespace sockets {
36 disconnect = 0b1,
38 reuse_socket = 0b10,
40 write_behind = 0b100,
42 use_system_thread = 0b1000,
44 use_kernel_apc = 0b100000,
45 };
46 }
47 }
48}
49
51flags_attribute_(xtd::net::sockets, transmit_file_options);
52
55};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
transmit_file_options
The TransmitFileOptions enumeration defines values used in file transfer requests.
Definition transmit_file_options.hpp:32
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
@ reuse_socket
The socket handle may be reused when the request completes. This flag is valid only if xtd::net::sock...
@ write_behind
Complete the file transfer request immediately, without pending. If this flag is specified and the fi...
@ use_system_thread
Use system threads to process long file transfer requests.
@ use_default_worker_thread
Use the default thread to process long file transfer requests.
@ disconnect
Start a transport-level disconnect after all the file data has been queued for transmission....
@ use_kernel_apc
Use kernel asynchronous procedure calls (APCs) instead of worker threads to process long file transfe...
@ disconnect
A socket disconnect operation.
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition address_family.hpp:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38