代码搜索:如何学习 socket?

找到约 10,000 项符合「如何学习 socket?」的源代码

代码结果 10,000
www.eeworm.com/read/301855/13847521

cpp mysocket.cpp

#include #include #include "mysocket.h" MySocket::MySocket() { address_family = AF_INET; socket_type = SOCK_STREAM; protocol_family = IPPROTO_TCP; port_number = MYSOCKET_DEFAUL
www.eeworm.com/read/151700/5679727

cpp 01server.cpp

/**(Echo)回声服务器的Win32控制台程序 --接收客户数据并返回前20个字节 socket原型为: SOCKET socket(int af, int type, int protocol), 参数: af 指定网络地址类型,一般用AF_INET,表示在Internet中通信; typ
www.eeworm.com/read/140180/5794214

c ipv4.c

/***************************************************************************** * ipv4.c: IPv4 network abstraction layer *****************************************************************************
www.eeworm.com/read/140180/5794217

c ipv6.c

/***************************************************************************** * ipv6.c: IPv6 network abstraction layer *****************************************************************************
www.eeworm.com/read/138754/5813819

c xpt-tcp.c

/*************************************************************************/ /* module: SyncML Communication Services, TCP/IP functions */ /* file: src/xpt/all/xpt-tcp.c
www.eeworm.com/read/132923/5909023

cpp mysocket.cpp

// MySocket.cpp : implementation file // #include "stdafx.h" #include "Server.h" #include "MySocket.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE
www.eeworm.com/read/490419/6342721

cpp tcpclient.cpp

///////////////////////////////////////////////// // TCPClient.cpp文件 #include "TCPClient.h" #include "resource.h" // 定义网络事件通知消息 #define WM_SOCKET WM_USER + 1 CMyApp theApp; BOOL CMyApp
www.eeworm.com/read/494056/6387402

h net_parameter.h

#define TRUE 0xff #define FALSE 0x00 /* Network parameters in EEPROM */ #define GATEWAY_IP_EE 0x00 /* Gateway IP address */ #define SUBNET_MASK_EE 0x04 /* Subnet mask */ #define PHY_ADDR_EE 0
www.eeworm.com/read/481359/6639336

cpp setnonblock.cpp

#include "./setnonblock.h" #ifdef WINDOWS int setfd_nonblock(SOCKET socket) { unsigned long val = 1; return ioctl(socket,FIONBIO,&val); } #else #include #include int setf
www.eeworm.com/read/403922/11504677

html ref.sockets.html

Socket Functions