Chromium Code Reviews

Unified Diff: src/platform.h

Issue 50036: Add support for setting the SO_REUSEADDR option for sockets (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/platform-freebsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform.h
===================================================================
--- src/platform.h (revision 1552)
+++ src/platform.h (working copy)
@@ -448,6 +448,9 @@
virtual int Send(const char* data, int len) const = 0;
virtual int Receive(char* data, int len) const = 0;
+ // Set the value of the SO_REUSEADDR socket option.
+ virtual bool SetReuseAddress(bool reuse_address) = 0;
+
virtual bool IsValid() const = 0;
static bool Setup();
« no previous file with comments | « no previous file | src/platform-freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine