Welcome![Sign In][Sign Up]
Location:
Search - SOCKET T

Search list

[Internet-Networkt

Description: 一个SOCKET的源码,基于VC++环境下编写,可用于UNIX下进行,包含服务器与客户机部分
Platform: | Size: 3355 | Author: 张三 | Hits:

[Linux-UnixSocket_TCP-1.00

Description: TCP协议下套接字编程-TCP socket programming
Platform: | Size: 16384 | Author: 卢凤晖 | Hits:

[Internet-Networkvb udp_tcp

Description: Winsock创建TCPIP服务器程序-Winsock create TCPIP server
Platform: | Size: 2048 | Author: 姚楚棉 | Hits:

[Internet-Networktcppacket

Description: 用Raw Socket构造TCP报文-with Raw Socket tectonic TCP Packet
Platform: | Size: 2048 | Author: 赵海峰 | Hits:

[TCP/IP stackJBSocketServerTestSource

Description: Testing TCP and UDP socket servers using C# and .NETWhen you re developing a TCP/IP server application it s easy to test it poorly. It s easy to fire requests into a server, check the responses and assume that s enough. Even if you re testing using the actual production client application you may find that you are failing to fully test the server under heavy load or unusual network conditions. You may be using two or more machines, but your development network probably doesn t cause the kind of packet fragmentation and delays that you might encounter in the wild. Often when testing in the development environment your server only ever receives complete, distinct messages, and this can lead novice developers to assume that this is how it always is. As we pointed out in a previous article, the server developer is always responsible for breaking up the TCP byte stream into protocol specific chunks.
Platform: | Size: 110592 | Author: 王小文 | Hits:

[Internet-Network客户服务器端

Description: 这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再接好)过了一会网络恢复正常,客户端能自动连接到服务器端,不能人工干涉! 我查了一些资料,在VC里有一个函数OnTimer(nIDEvent)可以定时产生事件!可以实现这个功能,但是我用了,还是连不上,请大家帮帮忙吧!做好后给我发到我的邮箱里!谢谢!-This is a complete C/S programe,but I hope put more function into it.Please help me.Fllowing is I ll want to do.When client is communicating with server normally,the network link is down. After while the link recovery(ie,I take the cable out from the computer then plug it in.)The Client can reconnect the server automatically not redo by human.I study some reference information to do it.There is a function OnTimer(nIDEvent) in VC can send event message periodically.But I still can t reconnect.Please help me to do it and then mail to me. Thanks.
Platform: | Size: 3988480 | Author: 海军 | Hits:

[JSPJava技术大合集

Description: 《Java技术大合集》,电子书籍都是从网络上搜集整理成TXT文本文件。收集了:Java Socket编程、JSP语法、WebSphere快速入门等。-"Java technology, Collection," e-books are collected from the network up into TXT text files. Collected : Java Socket Programming, JSP syntax, such as WebSphere Quick Start.
Platform: | Size: 1303552 | Author: 邓志伟 | Hits:

[Internet-NetworkServer_Client_Sockets_src

Description: The reason why I decided to write this article is because, I was learning myself how to use sockets with under windows, I could not find one place that had a tutorial which included every thing i was looking for, or if it did it was way to complicated for me to understand. In the end after doing my research I put together my resources and came up with this tutorial. I hope that it is clear and informative so that other people can benefit from it -The reason why I decided to write this Artic le is because, I was learning myself how to use sockets with und er windows, I could not find one place that had a tutorial WHI ch included every thing i was looking for. or if it did it was way to complicated for me to und erstand. In the end after doing my research I put my resources together and came up with this TUTO 77. I hope that it is clear and informative so t hat other people can benefit from it
Platform: | Size: 4096 | Author: l | Hits:

[ICQ-IM-Chatjava4597845676

Description: 本程序服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket.,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过JDBC与-the server and client presentation by Socket Interface (TCP) connections. Java use in presentation interface is quite simple. Java API sets to address the communications interface provides a type java.net.Socket. , make preparation network applications relatively easily. Multi-threaded servers to meet the multi-user request, and through JDBC
Platform: | Size: 1654784 | Author: jmz | Hits:

[VC/MFCWINDOWS__socket1

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:

[VC/MFCWINDOWS__socket3

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:

[VC/MFCWINDOWS__socket11

Description: “多播”亦称“多点传送”(M u l t i c a s t i n g),是一种让数据从一个成员送出,然后复制给其 他多个成员的技术-"multicast" also known as "multicast" (M u l t i c a s t i n g), is a way to let members of data from a given, and then copied to a number of other members of the technology
Platform: | Size: 850944 | Author: 楼洛阳 | Hits:

[VC/MFCWINDOWS__socket13

Description: 利用“原始套接字”(Raw Socket),我们可访问位于基层的传输协议。本章专门讲解如 何运用这种原始套接字,来模拟I P的一些实用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原 始套接字,亦可对I P头信息进行实际的操作。本章只关心I P协议;至于如何针对其他协议使 用原始套接字,我们不打算提及。而且,大多数协议(除AT M以外)根本就不支持原始套接 字。所有原始套接字都是使用S O C K _ R AW这个套接字类型来创建的,而且目前只有Wi n s o c k 2提供了对它的支持。因此,无论Microsoft Windows CE 还是老版本的Windows 95 (无 Winsock 2升级)均不能利用原始套接字的能力。-use "raw socket" (Raw Socket), we can visit at the grassroots transmission agreements. This chapter specifically on how to use the original socket, I P to simulate some practical tools, For example Tr a c e r t o u e and P i n g procedures, and so on. Original socket, I can right the first P information of the actual operation. I only care about this chapter P Agreement; As to how the other agreements original socket, we do not intend to mention. Moreover, most agreements (except outside AT M) simply does not support the original socket. All original socket are using S O C K R AW _ the socket types to create, but it's only Wi n o c k 2 of the support it. Therefore, Whether Microsoft Windows CE or an older version of Windows 95 (non-Win sock escalation 2) are not using the ori
Platform: | Size: 692224 | Author: 楼洛阳 | Hits:

[VC/MFCWINDOWS__socket18

Description: 本附录介绍一些新的A P I函数,有了这些函数,便可在自己的计算机上对I P协议统计情况 进行查询和管理。它们有助于获得下面的能力: ■ I p c o n f i g . e x e(或适用于微软Windows 95的Wi n i p c f g . e x e):显示I P配置信息,允许释放 和更新D H C P分配的I P地址。 ■ N e t s t a t . e x e:显示T C P连接表、U D P监听者表以及I P协议统计情况。 ■ R o u t e . e x e:显示并处理网络路由表。 ■ A r p . e x e:显示并修改供“地址解析协议”(A R P)使用的I P到物理地址翻译表。-This appendix to introduce some new API functions, these functions can be on your computer to the IP protocol statistics query and management. Their ability to contribute to the acquisition of the following: ■ I pconfig. Exe (or apply to Microsoft Windows 95 s Wi nipcfg. Exe): display IP configuration information, allowing the release and update DHCP allocated IP address. ■ N etstat. Exe: show TCP connection table, UDP Listener Table, as well as IP protocol statistics. ■ R oute. Exe: display and handle the network routing table. ■ A rp. Exe: display and modify for ARP (ARP) to use the IP to physical address translation table.
Platform: | Size: 427008 | Author: 楼洛阳 | Hits:

[Internet-Networksendpack

Description: raw socket实现自定义数据报头(IP头/TCP头)程序-raw socket data to achieve a custom header (IP header/TCP header) program
Platform: | Size: 8192 | Author: 宋博 | Hits:

[Windows Developmfc_tcp

Description: 基于mfc的,实现简单的socket通信-Mfc-based, and easy implementation of the socket communication
Platform: | Size: 5127168 | Author: yuanyuan | Hits:

[Internet-NetworkLINUX-socket

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:

[Internet-NetworkSOCKET-TCP

Description: 该协议建立在TCP/IP基础之上,能够保证高可靠性的文件传输。本程序是FTP客户端软件的开发实例-The agreement built on the TCP/IP based, to ensure high reliability of the file transfer. This procedure is a FTP client software examples
Platform: | Size: 1231872 | Author: 彭府 | Hits:

[JSP/JavaSocket

Description: 用Java Socket完成如下功能:建立客户端和服务器端通讯,服务器端地址为本地端口自拟。两端以TCP形式通讯,假设客户端Class叫Client,服务器端Class叫Server。当运行 java Client Hello时,服务器端能接受客户发来的Hello字符并打印”Receive Hello”然后返回给客户端“How r u doing”字符串 客户端收到后打印”Received How are you doing”. 此时服务器端服务始终运行并未停止并等待其他Socket连接(客户端运行一次可以停止),直到客户运行 java Client Bye时 服务器端收到”Bye”并打印”I don’t wanna die”后 服务器停止运行。-Java Socket complete with the following functions: the establishment of client and server communications, server-side address of the local port from be. TCP in the form of communication at both ends, assuming that the client Class called Client, server-side Class called Server. Java Client Hello When running, the server can accept Hello Guest sent characters and print the " Receive Hello" and then go back to the client " How ru doing" string after the client received print " Received How are you doing" . This When running server-side service is not always stop and wait for the other Socket connection (the client can stop a run), until the customer is running java Client Bye received at the server-side " Bye" and print " I don' t wanna die" after the server to stop run.
Platform: | Size: 32768 | Author: wangdan | Hits:

[Internet-Networksocket

Description: tcp udp 网络编程源码 //创建套接字 sHost = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) if(INVALID_SOCKET == sHost) { printf("socket failed!\n") WSACleanup() //释放套接字资源 return -1 } //设置服务器地址 servAddr.sin_family =AF_INET servAddr.sin_addr.s_addr = inet_addr("127.0.0.1") servAddr.sin_port = htons((short)4999) int nServAddlen = sizeof(servAddr) //连接服务器 retVal=connect(sHost,(LPSOCKADDR)&servAddr, sizeof(servAddr)) if(SOCKET_ERROR == retVal) { printf("connect failed!\n") closesocket(sHost) //关闭套接字 WSACleanup() //释放套接字资源 return -1 } //向服务器发送数据 ZeroMemory(buf, BUF_SZIE) strcpy(buf, "MyTCP") retVal = send(sHost, buf, strlen(buf), 0) if (SOCKET_ERROR == retVal) { printf("send failed!\n") closesocket(sHost) //关闭套接字 WSACleanup() //释放套接字资源 return -1 -tcp udp network programming source code// create a socket sHost = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP) if (INVALID_SOCKET == sHost) (printf ( " socket failed! \ n" ) WSACleanup () // release socket Word of resources return-1 )// set the server address servAddr.sin_family = AF_INET servAddr.sin_addr.s_addr = inet_addr ( " 127.0.0.1" ) servAddr.sin_port = htons ((short) 4999) int nServAddlen = sizeof ( servAddr) // connect to the server retVal = connect (sHost, (LPSOCKADDR) & servAddr, sizeof (servAddr)) if (SOCKET_ERROR == retVal) (printf ( " connect failed! \ n" ) closesocket (sHost) // Close socket WSACleanup () // release the socket resources return-1 )// to the server sending data ZeroMemory (buf, BUF_SZIE) strcpy (buf, " MyTCP" ) retVal = send (sHost, buf, strlen (buf), 0) if (SOCKET_ERROR == retVal) (printf ( " send failed! \ n" ) closesocket (sHost) // close the socket WSACleanup () // release socket resources to return
Platform: | Size: 2048 | Author: 闛靚 | Hits:
« 12 3 4 »

CodeBus www.codebus.net