Lines Matching defs:Win32Socket

22 // Win32Socket
135 // Win32Socket::EventSink
141 struct Win32Socket::DnsLookup {
147 class Win32Socket::EventSink : public Win32Window {
149 explicit EventSink(Win32Socket * parent) : parent_(parent) { }
161 Win32Socket * parent_;
164 void Win32Socket::EventSink::Dispose() {
173 bool Win32Socket::EventSink::OnMessage(UINT uMsg, WPARAM wParam,
185 bool Win32Socket::EventSink::OnSocketNotify(UINT uMsg, WPARAM wParam,
203 bool Win32Socket::EventSink::OnDnsNotify(WPARAM wParam, LPARAM lParam,
213 void Win32Socket::EventSink::OnNcDestroy() {
223 // Win32Socket
226 Win32Socket::Win32Socket()
231 Win32Socket::~Win32Socket() {
235 bool Win32Socket::CreateT(int family, int type) {
249 int Win32Socket::Attach(SOCKET s) {
267 void Win32Socket::SetTimeout(int ms) {
272 SocketAddress Win32Socket::GetLocalAddress() const {
287 SocketAddress Win32Socket::GetRemoteAddress() const {
302 int Win32Socket::Bind(const SocketAddress& addr) {
316 int Win32Socket::Connect(const SocketAddress& addr) {
352 int Win32Socket::DoConnect(const SocketAddress& addr) {
384 int Win32Socket::GetError() const {
388 void Win32Socket::SetError(int error) {
392 Socket::ConnState Win32Socket::GetState() const {
396 int Win32Socket::GetOption(Option opt, int* value) {
407 int Win32Socket::SetOption(Option opt, int value) {
417 int Win32Socket::Send(const void* buffer, size_t length) {
426 int Win32Socket::SendTo(const void* buffer, size_t length,
438 int Win32Socket::Recv(void* buffer, size_t length) {
447 int Win32Socket::RecvFrom(void* buffer, size_t length,
462 int Win32Socket::Listen(int backlog) {
473 Win32Socket* Win32Socket::Accept(SocketAddress* out_addr) {
482 Win32Socket* socket = new Win32Socket;
489 int Win32Socket::Close() {
512 int Win32Socket::EstimateMTU(uint16* mtu) {
543 void Win32Socket::CreateSink() {
551 bool Win32Socket::SetAsync(int events) {
568 bool Win32Socket::HandleClosed(int close_error) {
577 void Win32Socket::PostClosed() {
584 void Win32Socket::UpdateLastError() {
588 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) {
616 void Win32Socket::OnSocketNotify(SOCKET socket, int event, int error) {
675 void Win32Socket::OnDnsNotify(HANDLE task, int error) {
745 Win32Socket* socket = new Win32Socket;