Chromium Code Reviews| Index: runtime/bin/socket.h |
| diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h |
| index ae59c5aa1d24390da12d77d3dedcbb0c223a660b..bd0c3c979d28a4964d9d9459c9a0af2c2531f885 100644 |
| --- a/runtime/bin/socket.h |
| +++ b/runtime/bin/socket.h |
| @@ -227,10 +227,11 @@ class Socket { |
| intptr_t fd, const void* buffer, intptr_t num_bytes, RawAddr addr); |
| 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); |
| static intptr_t CreateConnect(RawAddr addr, |
| const intptr_t port); |
| + static intptr_t CreateBindConnect(RawAddr addr, |
| + const intptr_t port, |
| + RawAddr source_addr); |
|
kustermann
2015/02/10 10:06:54
You could pass these RawAddr's as const Reference
Søren Gjesse
2015/02/10 11:13:33
Done. I will do another change to change this in m
|
| static intptr_t CreateBindDatagram( |
| RawAddr* addr, intptr_t port, bool reuseAddress); |
| static intptr_t GetPort(intptr_t fd); |