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 *)addressInUseParameters
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)closeDiscussion
Declared In
FMIceLinkManagedSocket.h
– ipv6
- (bool)ipv6Discussion
Declared In
FMIceLinkManagedSocket.h
– isClosed
- (bool)isClosedDiscussion
Declared In
FMIceLinkManagedSocket.h
– localIPAddress
- (NSString *)localIPAddressDiscussion
Declared In
FMIceLinkManagedSocket.h
– localPort
- (int)localPortDiscussion
Declared In
FMIceLinkManagedSocket.h
– maxQueuedPackets
- (int)maxQueuedPacketsDiscussion
Declared In
FMIceLinkDatagramSocket.h
– receiveAsyncWithOnSuccess:onFailure:
- (void)receiveAsyncWithOnSuccess:(FMIceLinkAction3<FMIceLinkDataBuffer*,NSString*,id> *)onSuccess onFailure:(FMIceLinkAction1<NSException*> *)onFailureParameters
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 *))onFailureBlockParameters
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 *) ))receiveAsyncWithOnSuccessBlockAndOnFailureBlockDiscussion
@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)portParameters
buffer |
The buffer. |
|---|---|
ipAddress |
The remote IP address. |
port |
The remote port. |
Discussion
Declared In
FMIceLinkDatagramSocket.h
– setMaxQueuedPackets:
- (void)setMaxQueuedPackets:(int)valueDiscussion
Declared In
FMIceLinkDatagramSocket.h