fix for tcp/ip ports

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28363 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-06-19 20:19:55 +00:00
parent 366f2eeca1
commit 6933ec09ad
4 changed files with 20 additions and 3 deletions

View file

@ -133,6 +133,17 @@ typedef enum {
#endif
} RunLoopEventType;
@protocol RunLoopEvents
/* This is the message sent back to a watcher when an event is observed
* by the run loop.
* The 'data', 'type' and 'mode' arguments are the same as the arguments
* passed to the -addEvent:type:watcher:forMode: method.
* The 'extra' argument varies. For an ET_TRIGGER event, it is the same
* as the 'data' argument. For other events on unix it is the file
* descriptor associated with the event (which may be the same as the
* 'data' argument, but is not in the case of ET_RPORT).
* For windows it will be the handle or the windows message assciated
* with the event.
*/
- (void) receivedEvent: (void*)data
type: (RunLoopEventType)type
extra: (void*)extra