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

Side by Side Diff: net/udp/datagram_server_socket.h

Issue 6658027: UDP sockets implementation for windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/tcp_client_socket_win.cc ('k') | net/udp/udp_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_UDP_DATAGRAM_SERVER_SOCKET_H_ 5 #ifndef NET_UDP_DATAGRAM_SERVER_SOCKET_H_
6 #define NET_UDP_DATAGRAM_SERVER_SOCKET_H_ 6 #define NET_UDP_DATAGRAM_SERVER_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <sys/socket.h>
10
11 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
12 #include "net/udp/datagram_socket.h" 10 #include "net/udp/datagram_socket.h"
13 11
14 namespace net { 12 namespace net {
15 13
16 class IPEndPoint; 14 class IPEndPoint;
17 class IOBuffer; 15 class IOBuffer;
18 16
19 // A UDP Socket. 17 // A UDP Socket.
20 class DatagramServerSocket : public DatagramSocket { 18 class DatagramServerSocket : public DatagramSocket {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // alive until the callback is called. 52 // alive until the callback is called.
55 virtual int SendTo(IOBuffer* buf, 53 virtual int SendTo(IOBuffer* buf,
56 int buf_len, 54 int buf_len,
57 const IPEndPoint& address, 55 const IPEndPoint& address,
58 CompletionCallback* callback) = 0; 56 CompletionCallback* callback) = 0;
59 }; 57 };
60 58
61 } // namespace net 59 } // namespace net
62 60
63 #endif // NET_UDP_DATAGRAM_SERVER_SOCKET_H_ 61 #endif // NET_UDP_DATAGRAM_SERVER_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/tcp_client_socket_win.cc ('k') | net/udp/udp_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698