Location:
Search - socket hello
Search list
Description: Chapter 2: Getting Started Hello World
Hello World Enhanced A simple "Hello World" application that shows the basics of how to use an ActionScript 3.0 class in an application. The Enhanced version adds a name-checking feature. These examples are meant to be built from scratch, tutorial-style. The example files are provided so you can see how they should look when completed.
Chapter 4: Object-Oriented Programming Geometric Shapes Uses the object-oriented concepts of class inheritance and the implementation of interfaces to provide an application that calculates values for simple geometric shapes.
Chapter 5: Display Programming Sprite Arranger Adds graphical Sprite objects to a drawing area and let you manipulate their placement in the display list. Builds upon the classes from the geometric Shapes example.
Chapter 6: Working with Dates and Times Simple Clock Displays a simple analog clock face using methods of the Date and flash.util.Timer classes.
Chapter 7: Working with Strings ASCII Art Loads bitmap images and coverts them into ASCII character equivalents, using a number of the methods in the String class.
Chapter 8: Working with Arrays Play List Demonstrates a number of methods of the Array class while building and presenting a play list of music files.
Chapter 9: Handling Errors Custom Errors Presents a simple framework containing a set of custom ApplicationError classes and shows how to throw, catch, and handle such errors.
Chapter 10: Using Regular Expressions Wiki Editor Uses regular expressions to convert text containing wiki-style codes into formatted HTML text. Also shows how to use regular expressions for other conversions, such as numeric calculations.
Chapter 11: Working With XML RSS Viewer Reads an RSS feed and formats the entries as HTML, including hyperlinks to the stories being referenced. This example shows the powerful new E4X statements and operators in action.
Chapter 13: Event Handling Alarm Clock Demonstrates how to define, dispatch, and handle custom event classes. Extends the Simple Clock application to create an Alarm Clock with specialized AlarmEvents.
Chapter 14: Networking and Communications File I/O Shows how to use the FileReference class to upload files from your local disk to a remote server, and how to download files from a remote server to your local disk.
Note: To run this example you will need to set the UPLOAD_URL and DOWNLOAD_URL variables in the code to the address of a web server that will accept uploads and allow downloads.
Telnet Socket Connects to a Telnet server and shows how to send and read bytes from the socket connection.
Note: To run this example you will need to have access to a running Telnet server.
Chapter 15: Working with Geometry Display Object Transformer Uses methods of the flash.geom.Matrix class to apply multiple geometric transformations to a DisplayObject.
Chapter 16: Client System Environment Capabilities Info Lists the capabilities of your current browser and operating system, by using the SystemCapabilities class and an ExternalInterface call that uses Javascript to retrieve browser properties.
Chapter 19: Using the External API IntrovertIM_CSharp
IntrovertIM_HTML A tiny instant messenger application the uses the flash.external.ExternalInterface class to send messages between a Flex/ActionScript application and an external application. Two versions are provided. One uses HTML and Javascript for the external application, and the other uses C#.
Platform: |
Size: 458790 |
Author: swj_tommy@tom.com |
Hits:
Description: 大家好,这是一个socket实现连接池!希望大家能喜欢!-Hello everyone, this is a socket connection pool to achieve! Hope that we can love!
Platform: |
Size: 32768 |
Author: 迅锋 |
Hits:
Description: 面向连接的Socket实例:
代码实例中的服务器通过socket连接向客户端发送字符串"Hello, you are connected!"。只要在服务
器上运行该服务器软件,在客户端运行客户软件,客户端就会收到该字符串。-Connection-oriented Socket example: code of server instances to connect through the socket to the client to send the string " Hello, you are connected!" . As long as the server running the server software, running on the client client, the client will receive the string.
Platform: |
Size: 28672 |
Author: 暗流 |
Hits:
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:
Description: basic socket programming in unix-basic socket programming in unix
Platform: |
Size: 1024 |
Author: moonga |
Hits:
Description: 服务器通过socket连接向客户端发送字符串"Hello, you are connected!"。只要在服务器上运行该服务器软件,在客户端运行客户软件,客户端就会收到该字符串。 -Server through the socket connection to the client sends the string " Hello, you are connected!" . As long as the server running the server software, client software running on the client, the client will receive the string.
Platform: |
Size: 4096 |
Author: 王红艳 |
Hits:
Description: Hello World based on a socket clients in development
Platform: |
Size: 446464 |
Author: Marco Padilla |
Hits:
Description: WebSockets From Space*
* There are no users in space, only astronauts with the latest browser. Therefore no graceful fallback is attempted.
API
Setup
var server = http.createServer(...)
server.listen(port)
require( spacesocket ).attach(server, function(conn) {
dealWithWebSocket(conn)
})
Reading
conn.on( data , function(msg) {
doStuffWithString(msg)
})
Writing
conn.write( Hello, World )
Closure
conn.end()
Buffer control
conn.on( drain , function() {
// socket write queue is empty,
// send until queueing again:
while(conn.send(data)) { }
})
// Throttle sender for 1s:
conn.pause()
setTimeout(function() { conn.resume() }, 1000)
-WebSockets From Space*
* There are no users in space, only astronauts with the latest browser. Therefore no graceful fallback is attempted.
API
Setup
var server = http.createServer(...)
server.listen(port)
require( spacesocket ).attach(server, function(conn) {
dealWithWebSocket(conn)
})
Reading
conn.on( data , function(msg) {
doStuffWithString(msg)
})
Writing
conn.write( Hello, World )
Closure
conn.end()
Buffer control
conn.on( drain , function() {
// socket write queue is empty,
// send until queueing again:
while(conn.send(data)) { }
})
// Throttle sender for 1s:
conn.pause()
setTimeout(function() { conn.resume() }, 1000)
Platform: |
Size: 14336 |
Author: dodoploplo |
Hits:
Description: 1.编写一个Applet程序,该程序能够显示:"Hello Applet!",在浏览器中验证该程序。
2.编写一个基于TCP的Socket程序,服务器向客户端发送一个字符串:"Socket你好!",客户端将接收到的数据输出出来。在两台PC之间测试该程序。
-1. Applet write a program that can display: " Hello Applet!" , In the browser, verify the program. 2. Write a TCP-Socket based program, the server sends a string to the client: " Socket Hello!" , The client will receive the data output out. Between the two PC to test the program.
Platform: |
Size: 1027072 |
Author: 黄烨 |
Hits:
Description: win32 socket select模型多线程 c/s聊天服务器 服务器简单的接受命令和转发消息,自定义协议 -Hello World!
Platform: |
Size: 3763200 |
Author: 陈龙军 |
Hits:
Description: CanPHP框架(简称CP),是一个简单、自由、实用、高效的php框架。CanPHP框架以面向应用为主,不纠结于OOP,不纠结于MVC,不纠结于设计模式,不拘一格,力求简单快速优质的完成项目开发,是中小型项目开发首选php框架。 CanPHP框架(CP) 特点:
只要您会输出 hello world ,就可以轻松学习CP框架,提升php水平!
不管您是在做大项目还是小项目或对开源系统二次开发,CP框架都可以帮助您。
CanPHP框架 v1.4 升级日志:
1、新增强大的表单验证类
2、新增数据库备份与恢复类,支持分卷。
3、新增zip压缩压缩与解压缩类
4、新增汉字转拼音类
5、新增ip地理位置信息类
6、新增模型调用函数model()
修正的问题有:
1、Http.class.php类http协议由1.1改成1.0,解决采用socket方式,返回的数据多了几个字符的问题。
2、修正1.3版本中生成的缓存没有后缀的bug
3、修正其他一些细节bug
cp低版本升级到高版本方法,直接覆盖即可
-ThinkSAAS APP based on ThinkSAAS social networking platform. Ueditor is composed of Baidu web front of the R & D department to develop a WYSIWYG editor, has light weight, can be customized, pay more attention to the user experience etc..
Ueditor based on the open-source BSD protocol, in addition to having the code simplification, fast loading lightweight characteristics, also uses a hierarchical concept, so developers can according to the actual application and demand free customization.
Informed sources, Ueditor editor is divided to three layer architecture. Among them, the core layer provide developers such as range, selection, domUtils the bottom of API interface, the command center plug layer not only provided the bulk of the basis of command, also allows developers to based on the core layer of command commands to the development, and the user end interface layer can be provided free to customize the user interface.
Ueditor open source editor that has distribution pattern
Platform: |
Size: 182272 |
Author: 是的夫人 |
Hits:
Description: Java中的SSL及HTTPS协议实例源码,使用SSL套接字的HTTPS服务器端,接受客户端的一个连接,并返回Hello,world.
本例中使用8080端口创建SSL服务器套接字,返回缺省的SocketFactory对象,生成PrintWriter对象,用于输出信息。-Java SSL and HTTPS protocol source code examples, using SSL socket HTTPS server, the client accepted a connection, and return to Hello, world.
In this case the use of port 8080to create SSL server socket, returns the default SocketFactory object, generate PrintWriter objects, for outputting information.
Platform: |
Size: 24576 |
Author: 蜡笔小邪 |
Hits:
Description: jdk供的无阻塞I/O(NIO)有效解决了多线程服务器存在的线程开销问题,但在使用上略显得复杂一些。在NIO中使用多线程,主要目的已不是为了应对每个客户端请求而分配独立的服务线程,而是通过多线程充分使用用多个CPU的处理能力和处理中的等待时间,达到提高服务能力的目的。
client多线程请求server端,server接收client的名字,并返回Hello! +名字的字符格式给client。当然实际应用并不这么简单,实际可能是访问文件或者数据库获取信息返回给client。-jdk for non-blocking I/O (NIO), an effective solution to the problem of multi-threaded server thread overhead, but too complicated to use minor. To use multiple threads, the main purpose is not to respond to each client request to allocate a separate service thread with multiple CPU processing power and processing wait time, but fully multi-threaded so as to enhance service capabilities in the NIO purpose. This time in the NIO, to write an article blog to remember the things you learned. Or from the most simple Hello World, multi-threaded the client requests the server side, the server receiving the client s name, and return to the Hello!+ The name of the character format to the client. Of course, the practical application is not so simple, the actual access to the file or database to obtain the information returned to the client. The non-blocking NIO What is the mystery?
Platform: |
Size: 165888 |
Author: 陈云凤 |
Hits:
Description: Hello, I offer here a bot source socket in vb.net not update to the update there are some changes to make:
-Replace the MD5 encryption by RSA encryption
-Modify the packet "indetificationMessage" version and add add "versionExtands"
-and then continue the bot :D.
sorry I use GoogleTranslate because I speak French.
Platform: |
Size: 539648 |
Author: nico |
Hits:
Description: hellosocket套接字的所使用,用于基本网络的学习合影他用-hello socket for the first code
Platform: |
Size: 9216 |
Author: 奇犽 |
Hits:
Description: 用java实现SSL及HTTPS协议
使用SSL套接字的HTTPS服务器端
接受客户端的一个连接,并返回Hello,world.-SSL and HTTPS protocol using java to use HTTPS server-side SSL socket to accept client connection and return to the " Hello, world.
Platform: |
Size: 24576 |
Author: 杨都 |
Hits:
Description: C++环境下的 Socket Hello World简单程序-The of the Socket Hello World the C++ environment simple program
Platform: |
Size: 67584 |
Author: 王静青 |
Hits:
Description: tp socket pour communiquer deux pc par les socket en php
Platform: |
Size: 4096 |
Author: hello |
Hits:
Description: 本程序是基于TCP/IP协议的网络通信程序,运用了Java的流、文件、多线程等编程技术。套接字对象在网络编程中扮演着重要的角色,该程序就是一个基于套接字技术编写的简单聊天工具。聊天功能所使用的输入输出流分别是BufferedReader和PrintWriter,服务器为客户端启动一个线程,在该线程中通过套接字和客户交流信息。当向服务器发送一条聊天信息:“Hello”时,服务器要向这个线程中的输出流写入信息:“Hello”,那么客户端套接字的输入流就读取到了这条消息。文件传输分为文件发送和文件接收两部分,当服务器端要向客户端发送文件时,先调用字节输入流FileInputStream从本机读取想要发送的文件,再将信息通过字节输出流BufferedOutputStream发送到客户端,这样客户端的字节输入流BufferedInputStream就读取到了相应信息,客户端再通过字节输出流FileOutputStream将信息以文件形式存入本机。-This program is based on network communication program TCP/IP protocol, the use of Java streams, files, and other multi-threaded programming techniques. Socket object plays an important role in network programming, the program is written in a simple socket-based chat tool technology. Input and output streams chat are used BufferedReader and PrintWriter, the server for the client to start a thread in the thread through the socket and customers to exchange information. When sending a chat message to the server: " Hello" , the server would like this thread output stream to write information: " Hello" , then the client socket input stream is read to this message. File transfer files sent and received document is divided into two parts, when the client would like the server to send the file, byte input stream FileInputStream first call to read the file you want to send from the machine, then the information output by the byte stream BufferedOutputStream sent to the client, s
Platform: |
Size: 7168 |
Author: 佟文浩 |
Hits:
Description: Hello, here is an example non-blocking client that connects to an IP address and a
PORT taken into argument. Not need a server to notice that not fashion
blocking, the error is displayed Operation now in progress and in blocking mode,
error is displayed Connection Refused .-Hello, here is an example non-blocking client that connects to an IP address and a
PORT taken into argument. Not need a server to notice that not fashion
blocking, the error is displayed Operation now in progress and in blocking mode,
error is displayed Connection Refused .
Platform: |
Size: 1024 |
Author: mohammed |
Hits: