Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index 168791a0a4a881df549f1dc20830a2c006c220b3..a2ddf7a625edd783e386cff61adc048a78d26370 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2011 the V8 project authors. All rights reserved. |
+// Copyright 2012 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -653,6 +653,7 @@ class Socket { |
virtual bool Shutdown() = 0; |
// Data Transimission |
+ // Return 0 on failure. |
virtual int Send(const char* data, int len) const = 0; |
virtual int Receive(char* data, int len) const = 0; |