Home | History | Annotate | Download | only in socket

Lines Matching defs:UDPSocket

17 UDPSocket::UDPSocket(const std::string& owner_extension_id)
25 UDPSocket::~UDPSocket() {
31 void UDPSocket::Connect(const std::string& address,
52 int UDPSocket::Bind(const std::string& address, int port) {
60 void UDPSocket::Disconnect() {
65 void UDPSocket::Read(int count,
91 base::Bind(&UDPSocket::OnReadComplete, base::Unretained(this),
99 int UDPSocket::WriteImpl(net::IOBuffer* io_buffer,
108 void UDPSocket::RecvFrom(int count,
139 base::Bind(&UDPSocket::OnRecvFromComplete,
149 void UDPSocket::SendTo(scoped_refptr<net::IOBuffer> io_buffer,
182 base::Bind(&UDPSocket::OnSendToComplete, base::Unretained(this)));
189 bool UDPSocket::IsConnected() {
193 bool UDPSocket::GetPeerAddress(net::IPEndPoint* address) {
197 bool UDPSocket::GetLocalAddress(net::IPEndPoint* address) {
201 Socket::SocketType UDPSocket::GetSocketType() const {
205 void UDPSocket::OnReadComplete(scoped_refptr<net::IOBuffer> io_buffer,
212 void UDPSocket::OnRecvFromComplete(scoped_refptr<net::IOBuffer> io_buffer,
225 void UDPSocket::OnSendToComplete(int result) {
231 int UDPSocket::JoinGroup(const std::string& address) {
250 int UDPSocket::LeaveGroup(const std::string& address) {
269 int UDPSocket::SetMulticastTimeToLive(int ttl) {
273 int UDPSocket::SetMulticastLoopbackMode(bool loopback) {
277 const std::vector<std::string>& UDPSocket::GetJoinedGroups() const {