Lines Matching refs:Win32Socket
115 struct Win32Socket::DnsLookup {
121 class Win32Socket::EventSink : public Win32Window {
123 explicit EventSink(Win32Socket* parent) : parent_(parent) {} in EventSink()
137 Win32Socket* parent_;
140 void Win32Socket::EventSink::Dispose() { in Dispose()
149 bool Win32Socket::EventSink::OnMessage(UINT uMsg, in OnMessage()
163 bool Win32Socket::EventSink::OnSocketNotify(UINT uMsg, in OnSocketNotify()
183 bool Win32Socket::EventSink::OnDnsNotify(WPARAM wParam, in OnDnsNotify()
194 void Win32Socket::EventSink::OnNcDestroy() { in OnNcDestroy()
207 Win32Socket::Win32Socket() in Win32Socket() function in rtc::Win32Socket
217 Win32Socket::~Win32Socket() { in ~Win32Socket()
221 bool Win32Socket::CreateT(int family, int type) { in CreateT()
235 int Win32Socket::Attach(SOCKET s) { in Attach()
253 void Win32Socket::SetTimeout(int ms) { in SetTimeout()
258 SocketAddress Win32Socket::GetLocalAddress() const { in GetLocalAddress()
273 SocketAddress Win32Socket::GetRemoteAddress() const { in GetRemoteAddress()
288 int Win32Socket::Bind(const SocketAddress& addr) { in Bind()
301 int Win32Socket::Connect(const SocketAddress& addr) { in Connect()
337 int Win32Socket::DoConnect(const SocketAddress& addr) { in DoConnect()
368 int Win32Socket::GetError() const { in GetError()
372 void Win32Socket::SetError(int error) { in SetError()
376 Socket::ConnState Win32Socket::GetState() const { in GetState()
380 int Win32Socket::GetOption(Option opt, int* value) { in GetOption()
391 int Win32Socket::SetOption(Option opt, int value) { in SetOption()
401 int Win32Socket::Send(const void* buffer, size_t length) { in Send()
408 int Win32Socket::SendTo(const void* buffer, in SendTo()
420 int Win32Socket::Recv(void* buffer, size_t length, int64_t* timestamp) { in Recv()
432 int Win32Socket::RecvFrom(void* buffer, in RecvFrom()
452 int Win32Socket::Listen(int backlog) { in Listen()
463 Win32Socket* Win32Socket::Accept(SocketAddress* out_addr) { in Accept()
472 Win32Socket* socket = new Win32Socket; in Accept()
479 int Win32Socket::Close() { in Close()
502 void Win32Socket::CreateSink() { in CreateSink()
510 bool Win32Socket::SetAsync(int events) { in SetAsync()
527 bool Win32Socket::HandleClosed(int close_error) { in HandleClosed()
536 void Win32Socket::PostClosed() { in PostClosed()
543 void Win32Socket::UpdateLastError() { in UpdateLastError()
547 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption()
575 void Win32Socket::OnSocketNotify(SOCKET socket, int event, int error) { in OnSocketNotify()
634 void Win32Socket::OnDnsNotify(HANDLE task, int error) { in OnDnsNotify()
693 Win32Socket* socket = new Win32Socket; in CreateAsyncSocket()