@@ -84,8 +84,8 @@ impl SctpStream {
8484
8585 /// Send bytes on the specified SCTP stream. On success, returns the
8686 /// 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 ) ;
8989 }
9090
9191 /// Read bytes. On success, return a tuple with the quantity of
@@ -233,8 +233,8 @@ impl SctpEndpoint {
233233
234234 /// Send data in Sctp style, to the provided address on the stream `stream`.
235235 /// 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 ) ;
238238 }
239239
240240 /// Get local socket addresses to which this socket is bound
0 commit comments