代码搜索:如何学习 socket?
找到约 10,000 项符合「如何学习 socket?」的源代码
代码结果 10,000
www.eeworm.com/read/221695/14728757
h socket.h
#ifndef _LINUX_SOCKET_H
#define _LINUX_SOCKET_H
#include /* the SIOCxxx I/O controls */
struct sockaddr {
unsigned short sa_family; /* address family, AF_xxx */
char
www.eeworm.com/read/221695/14729376
c socket.c
/*
* NET An implementation of the SOCKET network access protocol.
*
* Version: @(#)socket.c 1.0.5 05/25/93
*
* Authors: Orest Zborowski,
* Ross Biro,
www.eeworm.com/read/121901/14731373
cpp socket.cpp
//---------------------------------------------------------------------------
#include
#include
#include
#include
#include
#pragma hdrstop
#i
www.eeworm.com/read/121901/14731380
obj socket.obj
www.eeworm.com/read/121901/14731393
h socket.h
//---------------------------------------------------------------------------
#ifndef cmd_socket_H
#define cmd_socket_H
//---------------------------------------------------------------------------
www.eeworm.com/read/221490/14740702
c socket.c
/* 利用socket的TCP client
此程序会连线TCP server,并将键盘输入的字符串传送给server。
TCP server范例请参考listen()。
*/
#include
#include
#include
#include
#include
www.eeworm.com/read/221293/14748056
class socket.class
www.eeworm.com/read/121395/14757561
h socket.h
#ifndef SOCKET_H
#define SOCKET_H
#include "uint16.h"
#include "uint32.h"
extern int socket_tcp(void);
extern int socket_udp(void);
extern int socket_tcp6(void);
extern int socket_udp6(void);
exter
www.eeworm.com/read/121210/14767138
cpp socket.cpp
// Socket.cpp : implementation file
//
#include "stdafx.h"
#include "ClientProgram.h"
#include "Socket.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __F
www.eeworm.com/read/121210/14767151
h socket.h
#if !defined(AFX_SOCKET_H__B5F9CA87_9185_4F8A_8220_8610C6D10956__INCLUDED_)
#define AFX_SOCKET_H__B5F9CA87_9185_4F8A_8220_8610C6D10956__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_