var searchIndex = {}; searchIndex["sctp"] = {"doc":"This crate provides high level SCTP networking.\nCurrently it only supports basic SCTP features like multi-homing\nin one-to-one and one-to-many associations.\nSCTP notifications and working directly on associations is not supported yet\nbut is in the TODO list.","items":[[3,"SctpStream","sctp","One-to-one SCTP connected stream which behaves like a TCP stream.\nA `SctpStream` can be obtained either actively by connecting to a SCTP endpoint with the\n`connect` constructor, or passively from a `SctpListener` which accepts new connections",null,null],[3,"SctpEndpoint","","One-to-many SCTP endpoint.",null,null],[3,"Incoming","","Iterator over incoming connections on `SctpListener`",null,null],[3,"SctpListener","","SCTP listener which behaves like a `TcpListener`.\nA SCTP listener is used to wait for and accept one-to-one SCTP connections.\nAn accepted connection is represented by `SctpStream`.",null,null],[4,"SoDirection","","Socket direction",null,null],[13,"Receive","","RCV direction",0,null],[13,"Send","","SND direction",0,null],[11,"connect","","Create a new stream by connecting it to a remote endpoint",1,{"inputs":[{"name":"a"}],"output":{"name":"result"}}],[11,"connectx","","Create a new stream by connecting it to a remote endpoint having multiple addresses",1,null],[11,"sendmsg","","Send bytes on the specified SCTP stream. On success, returns the\nquantity of bytes read",1,null],[11,"recvmsg","","Read bytes. On success, return a tuple with the quantity of\nbytes received and the stream they were recived on",1,null],[11,"local_addrs","","Return the list of local socket addresses for this stream",1,null],[11,"peer_addrs","","Return the list of socket addresses for the peer this stream is connected to",1,null],[11,"shutdown","","Shuts down the read, write, or both halves of this connection",1,null],[11,"set_nodelay","","Set or unset SCTP_NODELAY option",1,null],[11,"has_nodelay","","Verify if SCTP_NODELAY option is activated for this socket",1,null],[11,"set_buffer_size","","Set the socket buffer size for the direction specified by `dir`.\nLinux systems will double the provided size",1,null],[11,"get_buffer_size","","Get the socket buffer size for the direction specified by `dir`",1,null],[11,"set_timeout","","Set `timeout` in seconds for operation `dir` (either receive or send)",1,null],[11,"try_clone","","Try to clone the SctpStream. On success, returns a new stream\nwrapping a new socket handler",1,null],[11,"read","","",1,null],[11,"write","","",1,null],[11,"flush","","",1,null],[11,"as_raw_fd","","",1,null],[11,"from_raw_fd","","",1,{"inputs":[{"name":"rawfd"}],"output":{"name":"sctpstream"}}],[11,"bind","","Create a one-to-many SCTP endpoint bound to a single address",2,{"inputs":[{"name":"a"}],"output":{"name":"result"}}],[11,"bindx","","Create a one-to-many SCTP endpoint bound to a multiple addresses. Requires at least one address",2,null],[11,"recv_from","","Wait for data to be received. On success, returns a triplet containing\nthe quantity of bytes received, the sctp stream id on which data were received, and\nthe socket address used by the peer to send the data",2,null],[11,"send_to","","Send data in Sctp style, to the provided address on the stream `stream`.\nOn success, returns the quantity on bytes sent",2,null],[11,"local_addrs","","Get local socket addresses to which this socket is bound",2,null],[11,"shutdown","","Shuts down the read, write, or both halves of this connection",2,null],[11,"set_nodelay","","Set or unset SCTP_NODELAY option",2,null],[11,"has_nodelay","","Verify if SCTP_NODELAY option is activated for this socket",2,null],[11,"set_buffer_size","","Set the socket buffer size for the direction specified by `dir`.\nLinux systems will double the provided size",2,null],[11,"get_buffer_size","","Get the socket buffer size for the direction specified by `dir`",2,null],[11,"set_timeout","","Set `timeout` in seconds for operation `dir` (either receive or send)",2,null],[11,"try_clone","","Try to clone this socket",2,null],[11,"as_raw_fd","","",2,null],[11,"from_raw_fd","","",2,{"inputs":[{"name":"rawfd"}],"output":{"name":"sctpendpoint"}}],[11,"next","","",3,null],[11,"bind","","Create a listener bound to a single address",4,{"inputs":[{"name":"a"}],"output":{"name":"result"}}],[11,"bindx","","Create a listener bound to multiple addresses. Requires at least one address",4,null],[11,"accept","","Accept a new connection",4,null],[11,"incoming","","Iterate over new connections",4,null],[11,"local_addrs","","Get the listener local addresses",4,null],[11,"set_timeout","","Set `timeout` in seconds on accept",4,null],[11,"try_clone","","Try to clone this listener",4,null],[11,"as_raw_fd","","",4,null],[11,"from_raw_fd","","",4,{"inputs":[{"name":"rawfd"}],"output":{"name":"sctplistener"}}]],"paths":[[4,"SoDirection"],[3,"SctpStream"],[3,"SctpEndpoint"],[3,"Incoming"],[3,"SctpListener"]]}; initSearch(searchIndex);