由于需要研究了下用 java socket 传输文件,由于需要传输多个文件,因此,采用了多线程设计。客户端每个线程创建一个 socket 连接,每个 socket 连接负责传输一个文件,服务端的ServerSocket每次 accept 一个 socket 连接,创建一个线程用于接收客户端传来的文件。
1、服务端
由于需要研究了下用 java socket 传输文件,由于需要传输多个文件,因此,采用了多线程设计。客户端每个线程创建一个 socket 连接,每个 socket 连接负责传输一个文件,服务端的ServerSocket每次 accept 一个 socket 连接,创建一个线程用于接收客户端传来的文件。
1、服务端

Concurso para desenvolvedores procura projetos de software com interfaces interativas como reconhecimento de gestos, voz e realidade aumentada. Vencedores poderão ganhar um Ultrabook ™ Lenovo Yoga.
Intel's App Game Interface (AGI) is a JavaScript execution environment used to accelerate the execution of HTML5 Canvas tag commands. This post briefly describes the innovations included in the new release.
Intel continues to improve our free HTML5 Development Environment tools. Our goal is to help you the HTML5 app developer do more with your apps with less resources. We continue to innovate on your behalf to give you the edge. Here is a list of new features delivered in the June 2013 release of the HTML5 Development Environment.
Windows 8 has great power savings features that dim the monitor or turn it off completely based on whether or not the user is actively interacting with the device. This works great for most applications, but if you happen to be developing an application such as a movie player or book reader, the user can go for long periods of time without actually interacting with the device. For media playback and similar applications, this power saving feature presents a problem. This blog takes a look at the code involved in preventing the device display from turning off.
When I first started using C++, it was still essentially a preprocessor that produced C code. I liked that because if I was really confused about a particular feature, I could examine the C code to figure out how it worked. The features that I found most interesting in C++ could be broken into two categories: Polymorphism and Encapsulation. Polymorphism is just a fancy way of saying that a given function or operation can work on different types, the way addition can be performed on both integers and floating point types.
It is very exciting to be on the verge of helping lead a two week application development. It is something of a perfect storm. We have many Hackletic Poobahs helping. Of course, Paul Steinberg, architect of the Code for Good Hackathons. We also have Brad Hill, an Intel HTML5 expert who has helped run each hackathon. We have six of my students, all involved with past hackathons.
It is going to be interesting to spread the contiguous hackathon hours over a two week period and help new students create a working app.
So what do you do when you want the functionality of a static variable in Javascript? As previously discussed, using a global instead of a static is not a great idea. One might be tempted to use some sort of naming scheme to distinguish global vars, intended to be used as static, from others (e.g. '_static_i'), but that really doesn't solve the problem because two different functions might end up with similar static vars overwriting each other.
Desde que comecei a trabalhar como Community Manager de HTML5 aqui na Intel, muita gente me pergunta o motivo da Intel apoiar o HTML5.
"Nossa visão de futuro é um mundo no qual os desenvolvedores podem criar incríveis experiências em plataforma cruzada, que passam livremente de dispositivo para dispositivo e de tela para tela, um mundo em que os aplicativos podem atingir um número maior de clientes e podem ser lançados no mercado mais rapidamente, sem limitações."