git.ithinksw.org
/
ITFoundation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
whee
[ITFoundation.git]
/
ITInetServerSocket.h
diff --git
a/ITInetServerSocket.h
b/ITInetServerSocket.h
index
dd5eba6
..
56b6bb6
100755
(executable)
--- a/
ITInetServerSocket.h
+++ b/
ITInetServerSocket.h
@@
-11,17
+11,19
@@
@class ITInetSocket;
@protocol ITInetServerSocketOwner
@class ITInetSocket;
@protocol ITInetServerSocketOwner
-- (void)newClientJoined:(ITInetSocket*)client;
+- (
oneway
void)newClientJoined:(ITInetSocket*)client;
@end
@interface ITInetServerSocket : NSObject {
@private
int sockfd;
@end
@interface ITInetServerSocket : NSObject {
@private
int sockfd;
+ volatile int dieflag;
NSMutableSet *clients;
NSNetService *service;
id delegate;
short port;
NSString *rndType,*rndName;
NSMutableSet *clients;
NSNetService *service;
id delegate;
short port;
NSString *rndType,*rndName;
+ NSTimer *timer;
}
- (id)init;
}
- (id)init;