BLIP/Demo/BLIPEchoServer.h
author Jens Alfke <jens@mooseyard.com>
Fri May 30 13:54:38 2008 -0700 (2008-05-30)
changeset 9 980beba83fb7
permissions -rw-r--r--
Fixed a serious bug - a race condition where a data buffer in the writer's queue could be dealloced (not the NSData, but its bytes themselves) before the writer sent it, resulting in an EFAULT error.
     1 //
     2 //  BLIPEchoServer.h
     3 //  MYNetwork
     4 //
     5 //  Created by Jens Alfke on 5/24/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 #import "BLIPConnection.h"
    11 
    12 @interface BLIPEchoServer : NSObject <TCPListenerDelegate, BLIPConnectionDelegate>
    13 {
    14     BLIPListener *_listener;
    15 }
    16 
    17 @end