FMIceLinkUdpSocket Class Reference
Inherits from | FMIceLinkDatagramSocket : FMIceLinkManagedSocket : NSObject |
---|---|
Declared in | FMIceLinkUdpSocket.h FMIceLinkUdpSocket.m |
– ipv6
Gets a value indicating whether the socket supports IPv6.
- (bool)ipv6
Discussion
Gets a value indicating whether the socket supports IPv6.
Declared In
FMIceLinkManagedSocket.h
– isClosed
Gets a value indicating whether this instance is closed.
- (bool)isClosed
Discussion
Gets a value indicating whether this instance is closed.
Declared In
FMIceLinkManagedSocket.h
– localIPAddress
Gets the local IP address.
- (NSString *)localIPAddress
Discussion
Gets the local IP address.
Declared In
FMIceLinkManagedSocket.h
– localPort
Gets the local port.
- (int)localPort
Discussion
Gets the local port.
Declared In
FMIceLinkManagedSocket.h
– maxQueuedPackets
Gets the maximum number of packets
that can be queued at any given point in time.
- (int)maxQueuedPackets
Discussion
Gets the maximum number of packets
that can be queued at any given point in time.
Declared In
FMIceLinkDatagramSocket.h
– setMaxQueuedPackets:
Sets the maximum number of packets
that can be queued at any given point in time.
- (void)setMaxQueuedPackets:(int)maxQueuedPackets
Discussion
Sets the maximum number of packets
that can be queued at any given point in time.
Declared In
FMIceLinkDatagramSocket.h
– bindWithIPAddress:port:addressInUse:
Binds the socket to a local endpoint.
- (bool)bindWithIPAddress:(NSString *)ipAddress port:(int)port addressInUse:(bool *)addressInUse
Parameters
ipAddress |
The local IP address. |
---|---|
port |
The local port. |
addressInUse |
Indicates that access to the address is forbidden or in use. |
Discussion
Binds the socket to a local endpoint.
Declared In
FMIceLinkManagedSocket.h
– sendWithBuffer:ipAddress:port:
Sends data synchronously.
- (int)sendWithBuffer:(FMIceLinkDataBuffer *)buffer ipAddress:(NSString *)ipAddress port:(int)port
Parameters
buffer |
The buffer. |
---|---|
ipAddress |
The remote IP address. |
port |
The remote port. |
Discussion
Sends data synchronously.
Declared In
FMIceLinkDatagramSocket.h
– receiveAsyncWithOnSuccess:onFailure:
Receives data asynchronously.
- (void)receiveAsyncWithOnSuccess:(FMIceLinkAction3 *)onSuccess onFailure:(FMIceLinkAction1 *)onFailure
Parameters
onSuccess |
The callback to invoke on success. |
---|---|
onFailure |
The callback to invoke on failure. |
Discussion
Receives data asynchronously.
Declared In
FMIceLinkDatagramSocket.h
– close
Closes the socket.
- (void)close
Discussion
Closes the socket.
Declared In
FMIceLinkManagedSocket.h