var searchIndex = {}; searchIndex["net2"] = {"doc":"Extensions to `std::net` networking types.","items":[[3,"TcpBuilder","net2","An "in progress" TCP socket which has not yet been connected or listened.",null,null],[3,"UdpBuilder","","An "in progress" UDP socket which has not yet been connected.",null,null],[11,"new_v4","","Constructs a new TcpBuilder with the `AF_INET` domain, the `SOCK_STREAM`\ntype, and with a protocol argument of 0.",0,{"inputs":[],"output":{"name":"result"}}],[11,"new_v6","","Constructs a new TcpBuilder with the `AF_INET6` domain, the `SOCK_STREAM`\ntype, and with a protocol argument of 0.",0,{"inputs":[],"output":{"name":"result"}}],[11,"bind","","Binds this socket to the specified address.",0,null],[11,"listen","","Mark a socket as ready to accept incoming connection requests using\naccept()",0,null],[11,"connect","","Initiate a connection on this socket to the specified address.",0,null],[11,"to_tcp_stream","","Converts this builder into a `TcpStream`",0,null],[11,"to_tcp_listener","","Converts this builder into a `TcpListener`",0,null],[11,"fmt","","",0,null],[11,"new_v4","","Constructs a new UdpBuilder with the `AF_INET` domain, the `SOCK_DGRAM`\ntype, and with a protocol argument of 0.",1,{"inputs":[],"output":{"name":"result"}}],[11,"new_v6","","Constructs a new UdpBuilder with the `AF_INET6` domain, the `SOCK_DGRAM`\ntype, and with a protocol argument of 0.",1,{"inputs":[],"output":{"name":"result"}}],[11,"bind","","Binds this socket to the specified address.",1,null],[11,"fmt","","",1,null],[11,"ttl","","Sets the value for the `IP_TTL` option on this socket.",0,null],[11,"only_v6","","Sets the value for the `IPV6_V6ONLY` option on this socket.",0,null],[11,"reuse_address","","Set value for the `SO_REUSEADDR` option on this socket.",0,null],[11,"take_error","","Get the value of the `SO_ERROR` option on this socket.",0,null],[11,"ttl","","Sets the value for the `IP_TTL` option on this socket.",1,null],[11,"only_v6","","Sets the value for the `IPV6_V6ONLY` option on this socket.",1,null],[11,"reuse_address","","Set value for the `SO_REUSEADDR` option on this socket.",1,null],[11,"take_error","","Get the value of the `SO_ERROR` option on this socket.",1,null],[11,"from_raw_socket","","",0,{"inputs":[{"name":"socket"}],"output":{"name":"tcpbuilder"}}],[11,"as_raw_socket","","",0,null],[11,"from_raw_socket","","",1,{"inputs":[{"name":"socket"}],"output":{"name":"udpbuilder"}}],[11,"as_raw_socket","","",1,null],[8,"TcpStreamExt","","Extension methods for the standard [`TcpStream` type][link] in `std::net`.",null,null],[10,"set_nodelay","","Sets the value of the `TCP_NODELAY` option on this socket.",2,null],[10,"nodelay","","Gets the value of the `TCP_NODELAY` option on this socket.",2,null],[10,"set_keepalive_ms","","Sets whether keepalive messages are enabled to be sent on this socket.",2,null],[10,"keepalive_ms","","Returns whether keepalive messages are enabled on this socket, and if so\nthe amount of milliseconds between them.",2,null],[10,"set_keepalive","","Sets whether keepalive messages are enabled to be sent on this socket.",2,null],[10,"keepalive","","Returns whether keepalive messages are enabled on this socket, and if so\nthe duration of time between them.",2,null],[10,"set_read_timeout_ms","","Sets the `SO_RCVTIMEO` option for this socket.",2,null],[10,"set_read_timeout","","Sets the `SO_RCVTIMEO` option for this socket.",2,null],[10,"read_timeout_ms","","Gets the value of the `SO_RCVTIMEO` option for this socket.",2,null],[10,"read_timeout","","Gets the value of the `SO_RCVTIMEO` option for this socket.",2,null],[10,"set_write_timeout_ms","","Sets the `SO_SNDTIMEO` option for this socket.",2,null],[10,"set_write_timeout","","Sets the `SO_SNDTIMEO` option for this socket.",2,null],[10,"write_timeout_ms","","Gets the value of the `SO_SNDTIMEO` option for this socket.",2,null],[10,"write_timeout","","Gets the value of the `SO_SNDTIMEO` option for this socket.",2,null],[10,"set_ttl","","Sets the value for the `IP_TTL` option on this socket.",2,null],[10,"ttl","","Gets the value of the `IP_TTL` option for this socket.",2,null],[10,"set_only_v6","","Sets the value for the `IPV6_V6ONLY` option on this socket.",2,null],[10,"only_v6","","Gets the value of the `IPV6_V6ONLY` option for this socket.",2,null],[10,"connect","","Executes a `connect` operation on this socket, establishing a connection\nto the host specified by `addr`.",2,null],[10,"take_error","","Get the value of the `SO_ERROR` option on this socket.",2,null],[10,"set_nonblocking","","Moves this TCP stream into or out of nonblocking mode.",2,null],[8,"TcpListenerExt","","Extension methods for the standard [`TcpListener` type][link] in `std::net`.",null,null],[10,"set_ttl","","Sets the value for the `IP_TTL` option on this socket.",3,null],[10,"ttl","","Gets the value of the `IP_TTL` option for this socket.",3,null],[10,"set_only_v6","","Sets the value for the `IPV6_V6ONLY` option on this socket.",3,null],[10,"only_v6","","Gets the value of the `IPV6_V6ONLY` option for this socket.",3,null],[10,"take_error","","Get the value of the `SO_ERROR` option on this socket.",3,null],[10,"set_nonblocking","","Moves this TCP listener into or out of nonblocking mode.",3,null],[8,"UdpSocketExt","","Extension methods for the standard [`UdpSocket` type][link] in `std::net`.",null,null],[10,"set_broadcast","","Sets the value of the `SO_BROADCAST` option for this socket.",4,null],[10,"broadcast","","Gets the value of the `SO_BROADCAST` option for this socket.",4,null],[10,"set_multicast_loop_v4","","Sets the value of the `IP_MULTICAST_LOOP` option for this socket.",4,null],[10,"multicast_loop_v4","","Gets the value of the `IP_MULTICAST_LOOP` option for this socket.",4,null],[10,"set_multicast_ttl_v4","","Sets the value of the `IP_MULTICAST_TTL` option for this socket.",4,null],[10,"multicast_ttl_v4","","Gets the value of the `IP_MULTICAST_TTL` option for this socket.",4,null],[10,"set_multicast_loop_v6","","Sets the value of the `IPV6_MULTICAST_LOOP` option for this socket.",4,null],[10,"multicast_loop_v6","","Gets the value of the `IPV6_MULTICAST_LOOP` option for this socket.",4,null],[10,"set_ttl","","Sets the value for the `IP_TTL` option on this socket.",4,null],[10,"ttl","","Gets the value of the `IP_TTL` option for this socket.",4,null],[10,"set_only_v6","","Sets the value for the `IPV6_V6ONLY` option on this socket.",4,null],[10,"only_v6","","Gets the value of the `IPV6_V6ONLY` option for this socket.",4,null],[10,"join_multicast_v4","","Executes an operation of the `IP_ADD_MEMBERSHIP` type.",4,null],[10,"join_multicast_v6","","Executes an operation of the `IPV6_ADD_MEMBERSHIP` type.",4,null],[10,"leave_multicast_v4","","Executes an operation of the `IP_DROP_MEMBERSHIP` type.",4,null],[10,"leave_multicast_v6","","Executes an operation of the `IPV6_DROP_MEMBERSHIP` type.",4,null],[10,"set_read_timeout_ms","","Sets the `SO_RCVTIMEO` option for this socket.",4,null],[10,"set_read_timeout","","Sets the `SO_RCVTIMEO` option for this socket.",4,null],[10,"read_timeout_ms","","Gets the value of the `SO_RCVTIMEO` option for this socket.",4,null],[10,"read_timeout","","Gets the value of the `SO_RCVTIMEO` option for this socket.",4,null],[10,"set_write_timeout_ms","","Sets the `SO_SNDTIMEO` option for this socket.",4,null],[10,"set_write_timeout","","Sets the `SO_SNDTIMEO` option for this socket.",4,null],[10,"write_timeout_ms","","Gets the value of the `SO_SNDTIMEO` option for this socket.",4,null],[10,"write_timeout","","Gets the value of the `SO_SNDTIMEO` option for this socket.",4,null],[10,"take_error","","Get the value of the `SO_ERROR` option on this socket.",4,null],[10,"connect","","Connects this UDP socket to a remote address, allowing the `send` and\n`recv` syscalls to be used to send data and also applies filters to only\nreceive data from the specified address.",4,null],[10,"set_nonblocking","","Moves this UDP socket into or out of nonblocking mode.",4,null]],"paths":[[3,"TcpBuilder"],[3,"UdpBuilder"],[8,"TcpStreamExt"],[8,"TcpListenerExt"],[8,"UdpSocketExt"]]}; initSearch(searchIndex);