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

Unified Diff: native_client_sdk/src/libraries/nacl_io/socket/udp_node.h

Issue 304373008: Add support for modifying TCP and UDP socket buffer size in nacl_io (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the bug in the TCP test and added comments Created 6 years, 7 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
Index: native_client_sdk/src/libraries/nacl_io/socket/udp_node.h
diff --git a/native_client_sdk/src/libraries/nacl_io/socket/udp_node.h b/native_client_sdk/src/libraries/nacl_io/socket/udp_node.h
index 9abae91019c0dbfe214ac2d3abcaf61d88cddd58..b3da0f4447aefc5bef7e250db1479a19bd3b43a1 100644
--- a/native_client_sdk/src/libraries/nacl_io/socket/udp_node.h
+++ b/native_client_sdk/src/libraries/nacl_io/socket/udp_node.h
@@ -35,6 +35,11 @@ class UdpNode : public SocketNode {
const struct sockaddr* addr,
socklen_t len);
+ virtual Error SetSockOpt(int lvl,
+ int optname,
+ const void* optval,
+ socklen_t len);
+
protected:
virtual Error Recv_Locked(void* buf,
size_t len,

Powered by Google App Engine
This is Rietveld 408576698