@@ -84,8 +84,8 @@ impl SctpStream {
84
84
85
85
/// Send bytes on the specified SCTP stream. On success, returns the
86
86
/// quantity of bytes read
87
- pub fn sendmsg ( & self , msg : & [ u8 ] , stream : u16 ) -> Result < usize > {
88
- return self . 0 . sendmsg :: < SocketAddr > ( msg, None , stream, 0 ) ;
87
+ pub fn sendmsg ( & self , msg : & [ u8 ] , ppid : u64 , stream : u16 ) -> Result < usize > {
88
+ return self . 0 . sendmsg :: < SocketAddr > ( msg, None , ppid , stream, 0 ) ;
89
89
}
90
90
91
91
/// Read bytes. On success, return a tuple with the quantity of
@@ -233,8 +233,8 @@ impl SctpEndpoint {
233
233
234
234
/// Send data in Sctp style, to the provided address on the stream `stream`.
235
235
/// On success, returns the quantity on bytes sent
236
- pub fn send_to < A : ToSocketAddrs > ( & self , msg : & mut [ u8 ] , address : A , stream : u16 ) -> Result < usize > {
237
- return self . 0 . sendmsg ( msg, Some ( address) , stream, 0 ) ;
236
+ pub fn send_to < A : ToSocketAddrs > ( & self , msg : & mut [ u8 ] , address : A , ppid : u64 , stream : u16 ) -> Result < usize > {
237
+ return self . 0 . sendmsg ( msg, Some ( address) , ppid , stream, 0 ) ;
238
238
}
239
239
240
240
/// Get local socket addresses to which this socket is bound
0 commit comments