FMIceLinkVirtualUdpSocket Class Reference
Inherits from | FMIceLinkDatagramSocket : FMIceLinkManagedSocket : NSObject |
---|---|
Declared in | FMIceLinkVirtualUdpSocket.h FMIceLinkVirtualUdpSocket.m |
– bindWithIPAddress:port:addressInUse:
- (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
Declared In
FMIceLinkManagedSocket.h
– close
- (void)close
Discussion
Declared In
FMIceLinkManagedSocket.h
– ipv6
- (bool)ipv6
Discussion
Declared In
FMIceLinkManagedSocket.h
– isClosed
- (bool)isClosed
Discussion
Declared In
FMIceLinkManagedSocket.h
– localIPAddress
- (NSString *)localIPAddress
Discussion
Declared In
FMIceLinkManagedSocket.h
– localPort
- (int)localPort
Discussion
Declared In
FMIceLinkManagedSocket.h
– maxQueuedPackets
- (int)maxQueuedPackets
Discussion
Declared In
FMIceLinkDatagramSocket.h
– receiveAsyncWithOnSuccess:onFailure:
- (void)receiveAsyncWithOnSuccess:(FMIceLinkAction3<FMIceLinkDataBuffer*,NSString*,id> *)onSuccess onFailure:(FMIceLinkAction1<NSException*> *)onFailure
Parameters
onSuccess |
The callback to invoke on success. |
---|---|
onFailure |
The callback to invoke on failure. |
Discussion
Declared In
FMIceLinkDatagramSocket.h
– receiveAsyncWithOnSuccessBlock:onFailureBlock:
- (void)receiveAsyncWithOnSuccessBlock:(void ( ^ ) ( FMIceLinkDataBuffer *, NSString *, int ))onSuccessBlock onFailureBlock:(void ( ^ ) ( NSException *))onFailureBlock
Parameters
onSuccessBlock |
The callback to invoke on success. |
---|---|
onFailureBlock |
The callback to invoke on failure. |
Discussion
Declared In
FMIceLinkDatagramSocket.h
– receiveAsyncWithOnSuccessBlockAndOnFailureBlock
@inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataBuffer *, NSString *, int ) , void ( ^ ) ( NSException *) ))receiveAsyncWithOnSuccessBlockAndOnFailureBlock
Discussion
@inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.
Declared In
FMIceLinkDatagramSocket.h
– sendWithBuffer:ipAddress:port:
- (int)sendWithBuffer:(FMIceLinkDataBuffer *)buffer ipAddress:(NSString *)ipAddress port:(int)port
Parameters
buffer |
The buffer. |
---|---|
ipAddress |
The remote IP address. |
port |
The remote port. |
Discussion
Declared In
FMIceLinkDatagramSocket.h
– setMaxQueuedPackets:
- (void)setMaxQueuedPackets:(int)value
Discussion
Declared In
FMIceLinkDatagramSocket.h