| 
| static int  | ff_sctp_recvmsg (int s, void *msg, size_t len, struct sockaddr *from, socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags) | 
|   | 
| static int  | ff_sctp_send (int s, const void *msg, size_t len, const struct sctp_sndrcvinfo *sinfo, int flags) | 
|   | 
| static int  | sctp_open (URLContext *h, const char *uri, int flags) | 
|   | 
| static int  | sctp_wait_fd (int fd, int write) | 
|   | 
| static int  | sctp_read (URLContext *h, uint8_t *buf, int size) | 
|   | 
| static int  | sctp_write (URLContext *h, const uint8_t *buf, int size) | 
|   | 
| static int  | sctp_close (URLContext *h) | 
|   | 
| static int  | sctp_get_file_handle (URLContext *h) | 
|   | 
sctp url_protocol 
url syntax: sctp://host:port[?option=val...] option: 'listen' : listen for an incoming connection 'max_streams=n' : set the maximum number of streams 'reuse=1' : enable reusing the socket [TBD]
by setting the maximum number of streams the protocol will use the first two bytes of the incoming/outgoing buffer to store the stream number of the packet being read/written. 
- See Also
 - sctp_read 
 
- 
sctp_write 
 
Definition in file sctp.c.