2 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 // File: ListenerDelegate.h
6 // Created: Wed Sep 24 2003
8 // Copyright: 2003 Chaz McGarvey. All rights reserved.
9 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 #import <Cocoa/Cocoa.h>
14 @protocol ListenerDelegate
16 - (void)listenerListeningWithSocket
:(int)sock
;
17 - (void)listenerDisconnected
;
18 - (void)listenerError
:(NSString
*)error message
:(NSString
*)message
;
20 - (void)listenerReceivedNewConnection
:(int)sock
;