Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: runtime/bin/socket.h

Issue 312343002: - Fix truncation in Socket calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/socket_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.h
===================================================================
--- runtime/bin/socket.h (revision 37036)
+++ runtime/bin/socket.h (working copy)
@@ -221,11 +221,11 @@
static bool Initialize();
static intptr_t Available(intptr_t fd);
- static int Read(intptr_t fd, void* buffer, intptr_t num_bytes);
- static int Write(intptr_t fd, const void* buffer, intptr_t num_bytes);
- static int SendTo(
+ static intptr_t Read(intptr_t fd, void* buffer, intptr_t num_bytes);
+ static intptr_t Write(intptr_t fd, const void* buffer, intptr_t num_bytes);
+ static intptr_t SendTo(
intptr_t fd, const void* buffer, intptr_t num_bytes, RawAddr addr);
- static int RecvFrom(
+ static intptr_t RecvFrom(
intptr_t fd, void* buffer, intptr_t num_bytes, RawAddr* addr);
static intptr_t Create(RawAddr addr);
static intptr_t Connect(intptr_t fd, RawAddr addr, const intptr_t port);
« no previous file with comments | « no previous file | runtime/bin/socket_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698