FMLiveSwitchDatagramSocketCreateArgs Class Reference

Arguments for a datagram socket create event. More...

Instance Methods

(instancetype) - initWithIPv6:
 Initializes a new instance of the FMLiveSwitchDatagramSocketCreateArgs class. More...
 
(bool) - ipv6
 Gets a value indicating whether the socket should support IPv6. More...
 
(void) - setStreamIndex:
 Sets the stream index. More...
 
(int) - streamIndex
 Gets the stream index. More...
 

Class Methods

(FMLiveSwitchDatagramSocketCreateArgs *) + datagramSocketCreateArgsWithIPv6:
 Initializes a new instance of the FMLiveSwitchDatagramSocketCreateArgs class. More...
 

Detailed Description

Arguments for a datagram socket create event.

Method Documentation

◆ datagramSocketCreateArgsWithIPv6:

+ (FMLiveSwitchDatagramSocketCreateArgs*) datagramSocketCreateArgsWithIPv6: (bool)  ipv6

Initializes a new instance of the FMLiveSwitchDatagramSocketCreateArgs class.

Parameters
ipv6Whether the socket should support IPv6.

◆ initWithIPv6:

- (instancetype) initWithIPv6: (bool)  ipv6

Initializes a new instance of the FMLiveSwitchDatagramSocketCreateArgs class.

Parameters
ipv6Whether the socket should support IPv6.

◆ ipv6

- (bool) ipv6

Gets a value indicating whether the socket should support IPv6.

◆ setStreamIndex:

- (void) setStreamIndex: (int)  value

Sets the stream index.

◆ streamIndex

- (int) streamIndex

Gets the stream index.