blob: 787a1b977fa31edf99f10583b2797584c8dd1716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#import <Cocoa/Cocoa.h>
#import "TFTPPacket.h"
#import "PumpKIN.h"
#import "XFer.h"
#include <netinet/in.h>
@interface SendXFer : XFer {
}
-(SendXFer*)initWithPeer:(struct sockaddr_in *)sin andPacket:(TFTPPacket*)p;
-(SendXFer*)initWithLocalFile:(NSString *)lf peerAddress:(const struct sockaddr_in *)pa remoteFile:(NSString *)rf xferType:(NSString *)xt blockSize:(uint16_t)bs andTimeout:(int)to;
-(void)xfer;
@end
|