//
//  XUDPClient.h
//  xcmd
//
//  Created by mac on 2025/2/17.
//

#ifndef XUDPClient_h
#define XUDPClient_h

#import <Foundation/Foundation.h>

#import "CocoaAsyncSocket.h"

typedef void (^SendCallback) (NSString *msg);

@interface XUDPClient : NSObject<GCDAsyncUdpSocketDelegate>

@property (nonatomic, copy) SendCallback hintBlock;



- (void) onShow: (NSDictionary *)data;
- (void) onEnd: (NSDictionary *)data;
- (void) close;
@end

#endif /* XUDPClient_h */
