Documentation ¶
Index ¶
- func DialSCTP(addr net.Addr, opts ...DialOption) (*connection.SCTPConn, error)
- func WithAddressFamily(family types.AddressFamily) func(options *DialOptions)
- func WithInitMsg(initMsg types.InitMsg) func(options *DialOptions)
- func WithMode(mode types.SocketMode) func(options *DialOptions)
- func WithNonBlocking(nonblocking bool) func(options *DialOptions)
- type DialOption
- type DialOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialSCTP ¶
func DialSCTP(addr net.Addr, opts ...DialOption) (*connection.SCTPConn, error)
DialSCTP creates a new SCTP connection
func WithAddressFamily ¶
func WithAddressFamily(family types.AddressFamily) func(options *DialOptions)
WithAddressFamily sets address family
func WithInitMsg ¶
func WithInitMsg(initMsg types.InitMsg) func(options *DialOptions)
WithInitMsg sets options
func WithMode ¶
func WithMode(mode types.SocketMode) func(options *DialOptions)
WithMode sets SCTP mode
func WithNonBlocking ¶
func WithNonBlocking(nonblocking bool) func(options *DialOptions)
WithNonBlocking sets nonblocking
Types ¶
type DialOptions ¶
type DialOptions struct {
// contains filtered or unexported fields
}
DialOptions is SCTP options
Click to show internal directories.
Click to hide internal directories.