var ErrUnsupported … func setsockopt(fd int, optname, optval, optlen uintptr) (uintptr, uintptr, error) { … } func getsockopt(fd int, optname, optval, optlen uintptr) (uintptr, uintptr, error) { … } func (c *SCTPConn) SCTPWrite(b []byte, info *SndRcvInfo) (int, error) { … } func (c *SCTPConn) SCTPRead(b []byte) (int, *SndRcvInfo, error) { … } func (c *SCTPConn) Close() error { … } func (c *SCTPConn) SetWriteBuffer(bytes int) error { … } func (c *SCTPConn) GetWriteBuffer() (int, error) { … } func (c *SCTPConn) SetReadBuffer(bytes int) error { … } func (c *SCTPConn) GetReadBuffer() (int, error) { … } func ListenSCTP(net string, laddr *SCTPAddr) (*SCTPListener, error) { … } func ListenSCTPExt(net string, laddr *SCTPAddr, options InitMsg) (*SCTPListener, error) { … } func listenSCTPExtConfig(network string, laddr *SCTPAddr, options InitMsg, control func(network, address string, c syscall.RawConn) error) (*SCTPListener, error) { … } func (ln *SCTPListener) Accept() (net.Conn, error) { … } func (ln *SCTPListener) AcceptSCTP() (*SCTPConn, error) { … } func (ln *SCTPListener) Close() error { … } func DialSCTP(net string, laddr, raddr *SCTPAddr) (*SCTPConn, error) { … } func DialSCTPExt(network string, laddr, raddr *SCTPAddr, options InitMsg) (*SCTPConn, error) { … } func dialSCTPExtConfig(network string, laddr, raddr *SCTPAddr, options InitMsg, control func(network, address string, c syscall.RawConn) error) (*SCTPConn, error) { … }