代码搜索:如何学习 socket?
找到约 10,000 项符合「如何学习 socket?」的源代码
代码结果 10,000
www.eeworm.com/read/158683/5596469
h unisock.h
//-< UNISOCK.H >-----------------------------------------------------*--------*
// FastDB Version 1.0 (c) 1997 GARRET * ? *
// (Main Memory Database Management Sy
www.eeworm.com/read/474885/6797122
cpp nclog.cpp
// --- nclog.cpp ---
//#include "winsock.h"
#include "winsock2.h"
#pragma comment (lib, "ws2.lib")
#include
#include
static SOCKET wsa_socket=INVALID_SOCKET;
#pragma
www.eeworm.com/read/394230/8241907
cpp udpexampledlg.cpp
// UDPExampleDlg.cpp : implementation file
//
#include "stdafx.h"
#include "UDPExample.h"
#include "UDPExampleDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_F
www.eeworm.com/read/173135/9671938
c tcpvx.c
/*******************************************************************
* *
* This file is a part of the eXtremeDB HA framework
www.eeworm.com/read/170872/9783173
h unisock.h
//-< UNISOCK.H >-----------------------------------------------------*--------*
// FastDB Version 1.0 (c) 1997 GARRET * ? *
// (Main Memory Database Management Syst
www.eeworm.com/read/238247/13900134
h peersocket.h
// PeerSocket.h: interface for the PeerSocket.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PEERSOCKET_H__674A623F_4C93_4AE9_84A7_568658FA724E__INCLU
www.eeworm.com/read/238247/13900421
h peersocket.h
// PeerSocket.h: interface for the PeerSocket.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PEERSOCKET_H__674A623F_4C93_4AE9_84A7_568658FA724E__INCLU
www.eeworm.com/read/133814/14022313
h text.h
#ifndef __TCP_SOCKET_DLL_HUST_CHAO_2003_8_12
#define __TCP_SOCKET_DLL_HUST_CHAO_2003_8_12
#define TCPHANDLE int//有意义的值其实就是socket
//开始启动服务器
//用法:
//声明回调函数 void Connected(void *wParam,SOCK
www.eeworm.com/read/113690/15451128
txt 新建 文本文档.txt
我用WSA消息机制写一个socket的c/s聊天程序,侦听已经打开了,我用netstat已经看到了那个打开的端口。
但是客户端连接时,服务器端处理FD_ACCEPT消息的函就进入死循环:每次accept返回的都是INVALID_SOCKET,我用WSAGetLastError查看错误号,居然不是MSDN里说的错误号的任何一个!!
谁知道是怎么回事呢????