在这个简单的非阻塞服务器-套接字示例中,服务器读取发送自客户机的文件名,显示该文件的内容,然后将内容写回到客户机。
In this simple nonblocking server-socket example, the server reads a file name sent from the client, displays the file contents, and writes the contents back to the client.
对于BAR文件中的每个文件,该方法获取文件名并建立一个流读取文件内容。
For every file contained in the BAR file, it obtains the file name and opens a stream for the file content.
我们可以对这个类型重新进行定义,使其包括更多信息,例如 Flex 所读取的文件名。
You can redefine this type to include more information, such as the name of the file read by Flex.
应用推荐