Location:
Search - socket o
Search list
Description: socket编程原理:UNIX系统的I/O命令集,是从Maltics和早期系统中的命令演变出来的,其模式为打开一读/写一关闭(open-write-read- close)。在一个用户进程进行I/O操作时,它首先调用“打开”获得对指定文件或设备的使用权,并返回称为文件描述符的整型数
Platform: |
Size: 25631 |
Author: 彭冲 |
Hits:
Description: 提供CSocketModel类完整代码:"CSocketModel.zip" 该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞select,异步窗口,异步事件,重叠I/O,完成I/O)等.它可以被各种通讯程序方便采用.尤其是基于SERVER/CLIENT的SERVER程序会提高大幅度性能.如果使用人要完成特定的通讯功能可以从该类继承,增加对线程池的支持功能。-provide complete CSocketModel category code : "CSocketModel.zip" SOCKET is such integrated communications model, such completion, will repackage the mode of communication SOCKET (blocking select, asynchronous window, asynchronous events, overlapping I/O, complete I/O). It can be the species used to facilitate the communication process. based particularly SERVER/CLIENT SERVER the procedures significantly improve performance. If people use to accomplish specific communication from such succession, increasing the pool of threads support.
Platform: |
Size: 9216 |
Author: 张其 |
Hits:
Description: 言规则,类和对象,流和I/O,异常处理,AWT/Swing高级编程,对 象序列化,高效I/O及正则表达式,...网络编程技术 TCP/IP协议,Socket套接字-on rule,class,object,stream,I/O,exception,AWT/Swing,seral,TCP/IP principle,Socket,and so on.
Platform: |
Size: 314368 |
Author: 丁飘 |
Hits:
Description: Winsocket DLL 封装,该类是SOCKET通讯综合模型,该类完成后将包装各种SOCKET通讯模式(阻塞select,异步窗口,异步事件,重叠I/O,完成I/O)等.它可以被各种通讯程序方便采用.尤其是基于SERVER/CLIENT的SERVER程序会提高大幅度性能.如果使用人要完成特定的通讯功能可以从该类继承,增加对线程池的支持功能。-Winsocket DLL package, such communication is SOCKET integrated model, such completion, will repackage the mode of communication SOCKET (blocking select, asynchronous window, asynchronous events, overlapping I/O, complete I/O). It can be convenient communications procedures used. In particular, based on SERVER/CLIENT SERVER the procedures significantly improve performance. If people use to accomplish specific communication from such succession, increasing the pool of threads support.
Platform: |
Size: 21504 |
Author: 江苏 |
Hits:
Description: 基于事件例程的socket 重叠i/o,简单的读取客户端送来的数据-routines based on the events overlapping socket i/o, a simple read client data sent
Platform: |
Size: 34816 |
Author: 蓝狐 |
Hits:
Description: 端口扫描
扫描器的一个主要功能就是发现一个主机或网络并检查有什么服务正运行在这台主机上,更进一步还能测试这些服务,发现系统漏洞。要实现这些功能,只需要采用罪简单TCP  connect()扫描。操作系统提供的connect()系统调用,用来与每一个目标计算机端口进行连接。如果端口处于侦听状态,那么connect()就能够成功;否则这个端口不能使用,即没有提供服务。这个技术的最大有点是:无需任何权限。系统中的任何用户都有权利使用这个调用。另一个好处是速度,如果对每个目标端口以线性的方式,使用单独的connect()调用,那将会花费相当长的时间。我们可以同时打开多个socket,从而加速扫描。使用非阻塞I/O允许设置一个较低的时间用尽周期,同时观察多个socket。但这种方法的缺点是很容易被发觉,并且被过滤掉。目标计算机的logs文件会显示一连串的连接和连接是出错的服务消息,并且能很快的使它关闭-port scanner scans one of the main functions is found a host or network and check what services are running in this host, but also further test these services, discovered vulnerabilities. To achieve these functions, the offense only needed a simple TCP
Platform: |
Size: 16384 |
Author: 成 |
Hits:
Description: Socket 编程,详细介绍了Socket 编程的基本知识,socket 地址结构,C/S 网络编程,常用函数,僵尸进程,I/O 模式,守护进程,I/O 超时,辅助数据的应用,网络参数的设置和获取-Socket Programming, detailing the Socket Programming basic knowledge socket address structure, the C/S network programming, common function, zombie process, I/O mode, Daemon, I/O overtime, ancillary data applications, network parameters have been set and admission
Platform: |
Size: 206848 |
Author: |
Hits:
Description: delphi实现的bt下载器示例程序,带全部源码和BT协议
包中文件说明:
BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一个简单的bt下载器,支持多个.torrent文件同时下载
btutils.pas -- 核心bt组件
DCP*.pas -- SHA算法源码(复制自DEC组件包)
InetUtils.pas -- 提供Internet下载的函数库
SimpleSocks.pas -- socket组件(TCP)
SortLists.pas -- 排序的List组件
ThreadTimer.pas -- 定时器与线程池
DelayLists.pas -- 一个延时5秒再释放Object的队列
FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer内部使用
Bit Torrent Specification.htm -- BT协议文档-realized bt download procedures for example, with all source code and BT agreement package documents : BTDemo.dpr, BTDemoF.pas. BTDemoF.dfm-- a simple bt downloader, supports multiple. torrent download documents btutils.pas-- the core components bt DCP*. pas-- SHA algorithm source code (copied from the DEC kits) InetUtils.pas-- providing Internet download library SimpleSocks.pas-- socket Group pieces (TCP) SortLists.pas-- Ranking List components ThreadTime r.pas-- and the timer thread pool DelayLists.pas-- a delay the release of another five seconds O return of the queue FastShareMem.pas, MemPools.pas. ShareGlobals.inc-- ThreadTimer internal use by Tor Bit rent Specification.htm-- BT agreement document
Platform: |
Size: 58368 |
Author: vvyang |
Hits:
Description: 本书第一部分讲述的是传统的网络接口N e t B I O S、重定向器以及通过重定向器进行的各类
网络通信。尽管本书大部分内容均围绕Wi n s o c k编程这一主题展开,但是, A P I比起Wi n s o c k
来,仍然具有某些独到之处-book on the first part of the traditional network interface N e t B I O S, Redirector and through Redirector for the various network communication. Although most of the contents of the book revolves around Wi n s o c k program this topic, but A P than I Wi n o c k's, still has some special gifts
Platform: |
Size: 1167360 |
Author: 楼洛阳 |
Hits:
Description: Wi n d o w s使应用程序能通过操作系统内建的文件系统服务在网络上通信。有时候,我们
将之称为“网络操作系统”(N O S)能力。-Wi n d o w s application procedures so that the operating system through the built-in file system services on the network communications. Sometimes, we will call them the "network operating system" (N O S) capacity.
Platform: |
Size: 273408 |
Author: 楼洛阳 |
Hits:
Description: 提供了一种简单的单向“进程间通信”(interprocess communication,
I P C)机制。这个机制的名字非常古怪,叫作“邮槽”(M a i l s l o t)。用最简单的话来说,通过
邮槽,客户机进程可将消息传送或广播给一个或多个服务器进程。-provides a simple one-way "communication process" (interprocess commun ication, I P C) mechanisms. The name of this mechanism is very strange, called "Post Groove" (M.'s a i l l o t). With the most simple words, by mail chutes, and the client process can be transmitted or broadcast news to one or more server processes.
Platform: |
Size: 386048 |
Author: 楼洛阳 |
Hits:
Description: 本书第二部分讲述的是在Wi n 3 2平台上的Wi n s o c k编程。对于众多的基层网络协议,
Wi n s o c k是访问它们的首选接口。而且在每个Wi n 3 2平台上,Wi n s o c k都以不同的形式存在着。
Wi n s o c k是网络编程接口,而不是协议。它从U n i x平台的B e r k e l e y(B S D)套接字方案借鉴了
许多东西,后者能访问多种网络协议。在Wi n 3 2环境中,Wi n s o c k接口最终成为一个真正的
“与协议无关”接口,尤其是在Winsock 2发布之后。-book on the second part of the Wi n 3 2 on the platform's Wi n o c k programming. To many of the grass-roots network protocol, Wi n s o c k is to visit their preferred interface. But in each Wi n 3 2 platform, Wi n o c k's in different forms exist. Wi n s o c k network programming interface, rather than agreement. From U n i x platform B e r k e l e y (S B D) socket program draws many things, The latter would be able to visit a variety of network protocols. In Wi n 3 2 environment, Wi n o c k s interface will eventually become a real "agreement has nothing to do with the" interface, especially in the Winsock 2 was released.
Platform: |
Size: 361472 |
Author: 楼洛阳 |
Hits:
Description: 要通过Wi n s o c k建立通信,必须了解如何利用指定的协议为工作站定址。本章将一一说明
Wi n s o c k支持的协议以及各协议如何把一个指定家族的地址解析成网络上一台具体的机器。-through Wi n s o c k establish communications, we must understand how to use the designated address in the agreement for the workstation. The chapter will on January 1 shows Wi n o c k's support of the agreement and the agreement specified how a family of Web Address Resolution Taiwan dataflow on a specific machine.
Platform: |
Size: 888832 |
Author: 楼洛阳 |
Hits:
Description: 本章专门讲解编写成功网络应用程序时所需的基本知识和A P I调用。通过上一章的学习,
大家已知道从Wi n s o c k地址机和这些机器上的服务,可以很容易地访问协议。在这一章里,
我们打算讨论如何从网络上的一台机器到另一台机器建立连接,以及如何收发数据-chapter devoted to the preparation of successful network applications required for the basic knowledge and A P I call. The study by the previous chapter, we know from Wi n s o c k address these machines on the machines and services, it is easy to access protocol. In this chapter, we intend to discuss how the network from one machine to another machine to connect. and how the data transceiver
Platform: |
Size: 1081344 |
Author: 楼洛阳 |
Hits:
Description: 本章重点是如何在Wi n d o w s套接字应用程序中对I / O(输入/输出)操作进行管理。
Wi n s o c k分别提供了“套接字模式”和“套接字I / O模型”,可对一个套接字上的I / O行为加以
控制-focus of this chapter is how Wi n d o w's socket application of I/O (input/output) operations management. Wi n s o c k provide a "socket model" and the "socket I/O model," to be a socket on the I/O behavior control
Platform: |
Size: 852992 |
Author: 楼洛阳 |
Hits:
Description: socket编程原理:UNIX系统的I/O命令集,是从Maltics和早期系统中的命令演变出来的,其模式为打开一读/写一关闭(open-write-read- close)。在一个用户进程进行I/O操作时,它首先调用“打开”获得对指定文件或设备的使用权,并返回称为文件描述符的整型数-socket programming principle: UNIX system I/O command set, is from Maltics and early evolution of the system out of order, the mode to open one read/write one closed (open-write-read-close). Users in a process I/O operation, it calls the first
Platform: |
Size: 25600 |
Author: 彭冲 |
Hits:
Description: Socket接口是TCP/IP网络的API,Socket接口定义了许多函数或例程,程序员可以用它们来开发TCP/IP网络上的应用程序。要学Internet上的TCP/IP网络编程,必须理解Socket接口。
Socket接口设计者最先是将接口放在Unix操作系统里面的。如果了解Unix系统的输入和输出的话,就很容易了解Socket了。网络的 Socket数据传输是一种特殊的I/O,Socket也是一种文件描述符。Socket也具有一个类似于打开文件的函数调用Socket(),该函数返 回一个整型的Socket描述符,随后的连接建立、数据传输等操作都是通过该Socket实现的。常用的Socket类型有两种:流式Socket (SOCK_STREAM)和数据报式Socket(SOCK_DGRAM)。流式是一种面向连接的Socket,针对于面向连接的TCP服务应用;数据 报式Socket是一种无连接的Socket,对应于无连接的UDP服务应用。-Socket interface is TCP/IP network API, Socket Interface defines a number of functions or routines, the programmer can use them to develop TCP/IP network applications. Study on the Internet want TCP/IP network programming, we must understand the Socket Interface.
Socket Interface Designer is the first interface on the Unix operating system inside. If you know Unix system input and output, then it is easy to understand the Socket. Socket data transmission network is a special kind of I/O, Socket is a file descriptor. Socket also has a similar function call to open the file of the Socket (), the function return an integer of Socket descriptor, then the connection set up, data transmission and other operations through the implementation of the Socket. Socket type commonly used in two ways: streaming Socket (SOCK_STREAM) and data reported type Socket (SOCK_DGRAM). Streaming is a connection-oriented Socket, for in the TCP connection-oriented service applications Datagram Socket t
Platform: |
Size: 1406976 |
Author: 陈威 |
Hits:
Description: Linux Socket Programming by Example
英文原版PDF电子书,省纸打印版-Part I: Basic Socket Concepts
Chapter 1. Introducing Sockets
A Brief Historical Introduction
Understanding Sockets
Comparing Sockets to Pipes
Creating Sockets
Performing I/O on Sockets
Closing Sockets
Writing a Client/Server Example
Chapter 2. Domains and Address Families
Nameless Sockets
Understanding Domains
Forming Socket Addresses
Forming Local Addresses
Forming Internet (IPv4) Socket Addresses
Specifying an X.25 Address
Specifying Other Address Families
The AF_UNSPEC Address Family
Chapter 3. Address Conversion Functions
Internet IP Numbers
Allocating IP Addresses
Manipulating IP Numbers
Chapter 4. Socket Types and Protocols
Specifying the Domain of a Socket
Using the socket(2) Function
Choosing a Socket Type
Choosing a Protocol
Socket Domain and Type Summary
Other Linux-Supported Protocols
Chapter 5. Binding Addresses to a Socket
The Purpose of the bind(2) Function
Using the bind(2) Function
Obtaining the Socket Address
Interfaces and Addressing
Platform: |
Size: 1182720 |
Author: lisi |
Hits:
Description: socket网络编程的五种I/O模型之一:select模型。-socket network programming of five I/O model one: select the model.
Platform: |
Size: 2039808 |
Author: 戎金辉 |
Hits:
Description: 用DEPHI6把SOCKET控件封装位OCX,通讯过程都在OCX中完成,用户只需使用ocx方法和事件就可以完成通讯。-SOCKET control package with DEPHI6 the bit OCX, the OCX in the communication process is complete, users simply use ocx methods, and events can be completed communication.
Platform: |
Size: 257024 |
Author: zhang |
Hits: