代码搜索:如何学习 socket?
找到约 10,000 项符合「如何学习 socket?」的源代码
代码结果 10,000
www.eeworm.com/read/202691/5046940
h socket.h
// -*- C++ -*-
//
// This file is part of Siena, a wide-area event notification system.
// See http://www.cs.colorado.edu/serl/dot/siena.html
//
// Author: Antonio Carzaniga
www.eeworm.com/read/199421/5077398
c socket.c
/*
*
* NX-ROUTED
* RIP-2 Routing Daemon
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
www.eeworm.com/read/199421/5077401
h socket.h
/*
*
* NX-ROUTED
* RIP-2 Routing Daemon
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
www.eeworm.com/read/198784/5082270
cpp socket.cpp
#include "Socket.h"
extern "C" int TCPRecvFromPeer(Socket sock,void* pBuf,long iDataLen,long* iRead)
{
char* p = (char*)pBuf;
int iLeft = iDataLen;
while(iLeft != 0)
{
int iR
www.eeworm.com/read/198784/5082274
h socket.h
#ifndef _SOCKET_H_
#define _SOCKET_H_
#include
#include
#include
#include
#include
#include
#include
#inclu
www.eeworm.com/read/198784/5082275
cpp socket.cpp
#include "Socket.h"
extern "C" int TCPRecvFromPeer(Socket sock,void* pBuf,long iDataLen,long* iRead)
{
char* p = (char*)pBuf;
int iLeft = iDataLen;
while(iLeft != 0)
{
int i
www.eeworm.com/read/198784/5082282
h socket.h
#ifndef _SOCKET_H_
#define _SOCKET_H_
#include
#include
#include
#include
#include
#include
#include
#inclu
www.eeworm.com/read/198784/5082346
cpp socket.cpp
#include "Socket.h"
int CAddress::AddressConvert(char* address,struct in_addr* inaddr)
{
struct hostent* he;
//if the address is as the format 202.117.15.11
if(inet_aton(address,inaddr)
www.eeworm.com/read/198784/5082362
h socket.h
#ifndef _SOCKET_H_
#define _SOCKET_H_
#include "comhead.h"
#include
//====================================================
// Const value define //
//====
www.eeworm.com/read/198501/5086979
h socket.h
#ifndef _LINUX_SOCKET_H
#define _LINUX_SOCKET_H
#include /* the SIOCxxx I/O controls */
struct sockaddr {
//--hgl--Socket地址
unsigned short sa_family; /* address family, AF_xxx