sctp_sendmsg.3 (9199c09a159c4e3e98c212d4eec1edc5252d9e33) | sctp_sendmsg.3 (a47698f8d66e1eef4682e31d77b8f96c907461d5) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 257 unchanged lines hidden (view full) --- 266had been called to set up the association. 267.Sh RETURN VALUES 268The call returns the number of characters sent, or -1 269if an error occurred. 270.Sh ERRORS 271The 272.Fn sctp_sendmsg 273system call | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 257 unchanged lines hidden (view full) --- 266had been called to set up the association. 267.Sh RETURN VALUES 268The call returns the number of characters sent, or -1 269if an error occurred. 270.Sh ERRORS 271The 272.Fn sctp_sendmsg 273system call |
274fail if: | 274fails if: |
275.Bl -tag -width Er 276.It Bq Er EBADF 277An invalid descriptor was specified. 278.It Bq Er ENOTSOCK 279The argument 280.Fa s 281is not a socket. 282.It Bq Er EFAULT --- 36 unchanged lines hidden (view full) --- 319.Xr recv 2 , 320.Xr select 2 , 321.Xr socket 2 , 322.Xr write 2 , 323.Xr sctp_connectx 3 , 324.Xr sendmsg 3 , 325.Xr sctp 4 326.Sh BUGS | 275.Bl -tag -width Er 276.It Bq Er EBADF 277An invalid descriptor was specified. 278.It Bq Er ENOTSOCK 279The argument 280.Fa s 281is not a socket. 282.It Bq Er EFAULT --- 36 unchanged lines hidden (view full) --- 319.Xr recv 2 , 320.Xr select 2 , 321.Xr socket 2 , 322.Xr write 2 , 323.Xr sctp_connectx 3 , 324.Xr sendmsg 3 , 325.Xr sctp 4 326.Sh BUGS |
327Because in the one-to-many style socket the | 327Because in the one-to-many style socket |
328.Fn sctp_sendmsg 329or 330.Fn sctp_sendmsgx 331may have multiple associations under one endpoint, a 332select on write will only work for a one-to-one style 333socket. | 328.Fn sctp_sendmsg 329or 330.Fn sctp_sendmsgx 331may have multiple associations under one endpoint, a 332select on write will only work for a one-to-one style 333socket. |