|
@@ -24,6 +24,10 @@ class Tcp extends Stream {
|
|
|
return new Stream(client);
|
|
|
}
|
|
|
|
|
|
+ public function noDelay(b:Bool) {
|
|
|
+ tcp_nodelay_wrap(handle, b);
|
|
|
+ }
|
|
|
+
|
|
|
static function tcp_init_wrap( loop : Loop ) : HandleData {
|
|
|
return null;
|
|
|
}
|
|
@@ -40,4 +44,7 @@ class Tcp extends Stream {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
+ static function tcp_nodelay_wrap( h : HandleData, b : Bool ) : Void {
|
|
|
+ }
|
|
|
+
|
|
|
}
|