Welcome![Sign In][Sign Up]
Location:
Search - socket word

Search list

[Web Server用Java实现Web服务器

Description: 用Java实现Web服务器 本文实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接的socket字。-Java Web server is to achieve a GET request to the Web server, through the creation of ServerSocket class object, bugging port 8080; Wait, a client is connected to port 8080; Socket character creation and the associated input and output streams flow then read the client's request information, if the request is the type of GET, request information from being accessed visit HTML document, and if the HTML document exists, then open the HTML file, HTTP headers and HTML files through the socket sent back to the Web browser and then close the file. Otherwise, send the wrong message to the Web browser. Finally, the closing and the corresponding Web browser connected to the socket word.
Platform: | Size: 10425 | Author: 雨岳 | Hits:

[Communication基于TCP的远程字典服务(RemoteLookup)

Description: 过在远端主机上搭建一个远程字典服务服务器,其它主机可以通过客户端程序 RemoteLookup将所需要查询的单词传送给远程主机,远程主机字典服务服务器将单词的中文释义结果返回给客户端主机 在启动服务端后,即可用客户端在线查询单词, 程序示范了运用没有封装的SOCKET以及Windows SDK编程的典型过程。 -off in the remote mainframe structures a remote server dictionary, other mainframe through client RemoteLookup inquiries will be required to transmit the word remote host, the remote host server dictionary to the word interpretation of the results of the Chinese back to the mainframe in client-activated services, customers can use online-word inquiry, procedures without the use of the Model package SOCKET Windows SDK programming and the typical process.
Platform: | Size: 103028 | Author: 陈一 | Hits:

[Exploitsocket--study

Description: socket 套接字 共计算机网络实验 ,有详细的word 用netbeans.ide 实现
Platform: | Size: 55499 | Author: myonload | Hits:

[CommunicationWindows-Socket

Description: 这是关于windows socket的word学习资料,希望对大家有帮助
Platform: | Size: 91391 | Author: yjp | Hits:

[Internet-Networkwinsock_doc

Description: Windows Socket网络编程与规范-Windows Socket network programming and standard
Platform: | Size: 207872 | Author: 站长 | Hits:

[DocumentsWinSocket 编程资料

Description: WinSocket 编程资料..Word文档-Winsocket programming information .. Word
Platform: | Size: 233472 | Author: 牛二郎 | Hits:

[Other Gamesnetworkgame

Description: The word building game is a well known game all over the world. It is also called as scrabble. In this network-supported game, four players can play the game together sharing the same matrix board. Players can join their corresponding opponents directly by searching. I have used UDP sockets for searching the hosted game and TCP sockets for game processing. This game can be played within the subnet.
Platform: | Size: 41984 | Author: 王小文 | Hits:

[Web Server用Java实现Web服务器

Description: 用Java实现Web服务器 本文实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接的socket字。-Java Web server is to achieve a GET request to the Web server, through the creation of ServerSocket class object, bugging port 8080; Wait, a client is connected to port 8080; Socket character creation and the associated input and output streams flow then read the client's request information, if the request is the type of GET, request information from being accessed visit HTML document, and if the HTML document exists, then open the HTML file, HTTP headers and HTML files through the socket sent back to the Web browser and then close the file. Otherwise, send the wrong message to the Web browser. Finally, the closing and the corresponding Web browser connected to the socket word.
Platform: | Size: 10240 | Author: 雨岳 | Hits:

[Internet-NetworkWordDev

Description: 请注意:这不是普通的网络编程,这是基于VBA的网络开发。打开以后你会看到两个目录,里面有四个word文件,程序是嵌入到word里面去的:),所以,不要怀疑是病毒,这个主要演示如何在word中嵌入socket(winsock)控件进行通信的。-Please note : This is not an ordinary network programming, which is based on VBA network development. After the opening you will see two directories, which contain four word documents, procedures to be embedded inside the word : ), therefore, do not suspect is a virus. The main demonstration of how the word embedded socket (winsock) controls the communication.
Platform: | Size: 43008 | Author: 刘生培 | Hits:

[Internet-Networksocket--study

Description: socket 套接字 共计算机网络实验 ,有详细的word 用netbeans.ide 实现-Socket socket total computer network experiment, detailed word with netbeans.ide realize
Platform: | Size: 55296 | Author: myonload | Hits:

[Program docWindows-Socket

Description: 这是关于windows socket的word学习资料,希望对大家有帮助-This is the windows socket on the word learning materials, and they hope to have everyone help
Platform: | Size: 91136 | Author: yjp | Hits:

[Internet-NetworkSOCKET

Description: socket网络编程,好就一个字,不信-socket network programming, so on a word, do not believe look at the
Platform: | Size: 1957888 | Author: roger yu | Hits:

[Internet-Networkremote

Description: sockets(套接字)编程有三种,流式套接字(SOCK_STREAM),数据报套接字 (SOCK_DGRAM),原始套接字(SOCK_RAW);基于TCP的socket编程是采用的流式套接字(SOCK_STREAM)。基于UDP采 用的数据报套接字(SOCK_DGRAM).-sockets (socket) programming there are three kinds of stream sockets (SOCK_STREAM), datagram sockets (SOCK_DGRAM), raw sockets (SOCK_RAW) based on TCP-socket programming is used in streaming socket the word (SOCK_STREAM). Based on UDP datagram sockets used in (SOCK_DGRAM).
Platform: | Size: 1024 | Author: sun | 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:

[OtherTCP_server_client

Description: MyEclipse,实现tcp socket连接的客户端和服务器端,能够传输文本或图片,服务器端有多线程和单线程两个,多线程的可以实现同时让多个用户连接,rar包内word文档中有简单的流程图和程序说明,代码较简单,适合初学者。-MyEclipse,tcp socket server and client,there are single thread server and multi thread server,you can get file through the tcp
Platform: | Size: 114688 | Author: 申文霞 | Hits:

[JSPExp

Description: 利用Socket编程实现C/S应用。其中,Client端为GUI程序,用于提供界面输入两个数,并有1个“发送”按钮,另外还有一个 TextField用于显示传来的计算结果;Server端用于监听连接请求、计算发送过来的两数的和、送回数据结果。 -Socket programming using C/S applications. One, Client-side program for the GUI, the interface used to provide input two numbers and have a " send" button, in addition to a TextField to display the calculated results coming Server side to monitor connection requests, send calculation over the number two and, returned data results.
Platform: | Size: 150528 | Author: angle | Hits:

[Internet-Networknetwork-function-word

Description: 关于socket网络编程的函数介绍。可方便查阅。详细讲解各个函数的使用说明。-About socket network programming function. Easy access.
Platform: | Size: 146432 | Author: 李金明 | Hits:

[Internet-Networksocket

Description: 一个常见的使用套接字是为了方便一个分布式的负载系统,例如,一个缓慢的客户端机器可以通过网络和套接字的快速服务器机的计算密集型的请求,这个项目的目标是写一个客户端和一个服务器,一起创建这样的系统。程序流程可能类似于下面的: 客户端将请求一个词从用户通过标准输入输入 1这个字将被传送到服务器上的套接字连接。 2、服务器将检查单词的正确拼写和返回一个响应,该单词拼写正确,或一个响应,该单词拼写错误。 3客户端将显示服务器对用户的响应的格式化结果。例如,一个消息说,“这个词 -拼写正确。”或“单词 -拼写正确。 你的代码的第一步是设计来支持多个客户端,但客户端一次。您保持客户端等待,直到您的服务器完成当前客户端的处理。在这个实验中,您将扩展您的拼写检查程序,同时支持多个客户端。  服务器会设置插座,等客户  当客户端收到服务器会创建一个线程来处理客户端的请求。  服务器将继续等待新的客户端请求。  线程将处理客户的请求,然后退出。 -One common use of sockets is to facilitate a distributed workload system such that a slow client machine can make a computationally intensive request of a faster server machine via the network and sockets.The goal of this project is to write both a client and a server that together create such a system. The program flow could resemble the following: The client will request the input of a word the user via stdin 1.This word will be transferred to the server over a socket connection. 2.The server will check the word for proper spelling and return a response that the word was spelled correctly, or a response that the word was spelled incorrectly. 3.The client will then display a formatted result of the server s response to the user. For example, a message stating, The word - is spelled correctly. or The word - is spelled correctly. Your code for step1 was designed to support multiple clients, but one client at a time. You kept clients waiting until your server finished h
Platform: | Size: 9216 | Author: ylx | Hits:

[CSharpC#操作word,签入书签,图表,表格

Description: C# Chart Dome 折线和柱图 dataTable 填充数据(Figure C and figure DataTable # line column filled data dome)
Platform: | Size: 20964352 | Author: .net资源共享 | Hits:

[JSP/JavaTypingGame

Description: 使用java开发的应用程序,打字小游戏,有 闯关,练习,对战三种模式。有背景乐,字符出现根据导入的单词数据库(Using java development application, typing game, there are three ways to break through, practice, and fight. There are background music, characters appear according to the imported word database.)
Platform: | Size: 8887296 | Author: yushangyan | Hits:
« 12 3 »

CodeBus www.codebus.net