Examples - Boost 1.41.0

Examples - Boost 1.41.0


Allocation

This example shows how to customise the allocation of memory associated with
asynchronous operations.


Buffers

This example demonstrates how to create reference counted buffers that can
be used with socket read and write operations.


Chat

This example implements a chat server and client. The programs use a custom
protocol with a fixed length message header and variable length message body.

The following POSIX-specific chat client demonstrates how to use the posix::stream_descriptor
class to perform console input and output.


Echo

A collection of simple clients and servers, showing the use of both synchronous
and asynchronous operations.


HTTP Client

Example programs implementing simple HTTP 1.0 clients. These examples show
how to use the read_until
and async_read_until
functions.


HTTP Server

This example illustrates the use of asio in a simple single-threaded server
implementation of HTTP 1.0. It demonstrates how to perform a clean shutdown
by cancelling all outstanding asynchronous operations.


HTTP Server 2

An HTTP server using an io_service-per-CPU design.


HTTP Server 3

An HTTP server using a single io_service and a thread pool calling io_service::run().


ICMP

This example shows how to use raw sockets with ICMP to ping a remote host.


Invocation

This example shows how to customise handler invocation. Completion handlers
are added to a priority queue rather than executed immediately.


Iostreams

Two examples showing how to use ip::tcp::iostream.


Multicast

An example showing the use of multicast to transmit packets to a group of subscribers.


Serialization

This example shows how Boost.Serialization can be used with asio to encode
and decode structures for transmission over a socket.


Services

This example demonstrates how to integrate custom functionality (in this case,
for logging) into asio's io_service,
and how to use a custom service with basic_stream_socket<>.


SOCKS 4

Example client program implementing the SOCKS 4 protocol for communication
via a proxy.


SSL

Example client and server programs showing the use of the ssl::stream<>
template with asynchronous operations.


Timeouts

A collection of examples showing how to cancel long running asynchronous operations
after a period of time.


Timers

Examples showing how to customise deadline_timer using different time types.


Porthopper

Example illustrating mixed synchronous and asynchronous operations, and how
to use Boost.Lambda with Boost.Asio.


Nonblocking

Example demonstrating reactor-style operations for integrating a third-party
library that wants to perform the I/O operations itself.


UNIX Domain Sockets

Examples showing how to use UNIX domain (local) sockets.


Windows

An example showing how to use the Windows-specific function TransmitFile
with Boost.Asio.

 
posted on 2012-07-17 00:14  lexus 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/lexus/archive/2012/07/17/2594487.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: cesium-examples-master 是一个 Cesium 的示例项目。Cesium 是一个开源的3D地球可视化引擎,能够在Web上以浏览器为平台展示地球相关的数据和图形。cesium-examples-master 包含了一系列基于 Cesium 引擎的示例代码和样例数据,供开发人员学习和参考。 这个项目提供了丰富的示例,涵盖了各种场景和功能,如地形渲染、卫星图像展示、空中飞行效果、地球热力图、数据可视化等。每个示例都提供了完整的源代码和相关资源,开发人员可以直接运行和修改,快速了解 Cesium 的使用方式和功能特性。 cesium-examples-master 的目的是帮助开发人员加快上手 Cesium,提供具体的示例代码和实现思路,同时也是一个社区贡献的项目,任何人都可以向其中添加自己的示例代码。这对于想要共享自己的 Cesium 开发经验,或者想要通过Cesium实现自己的创意项目的开发者们来说都是很有帮助的。 总之,cesium-examples-master 是一个集合了Cesium引擎的示例代码和样例数据的项目,通过这个项目,开发人员可以学习和参考Cesium的使用方式和功能特性,同时也可以贡献自己的示例代码,为Cesium社区贡献自己的力量。 ### 回答2: cesium-examples-master是一个开源的Cesium.js示例。Cesium.js是一个基于WebGL的开源JavaScript,用于创建3D地球和地理信息可视化应用程序。 cesium-examples-master中包含了大量的示例代码,用于演示如何使用Cesium.js进行地球和地理数据可视化。这些示例涵盖了各种应用场景,包括地球浏览、地理数据可视化、飞行模拟、地球时间轴等等。 这个示例非常有用,特别是对于那些想要利用Cesium.js构建自己的3D地球和地理信息应用程序的开发人员来说。通过学习和理解这些示例代码,开发人员可以快速上手并加快应用程序的开发速度。 此外,cesium-examples-master还可以作为一个学习资源,供初学者学习Cesium.js的使用。通过运行和修改这些示例代码,初学者可以逐步掌握Cesium.js的各种功能和技术知识。 总之,cesium-examples-master是一个非常有用的示例,可以帮助开发人员和初学者更好地了解和应用Cesium.js。无论是开发3D地球和地理信息应用程序,还是学习Cesium.js的使用,这个示例都是一个很好的资源。如果你对Cesium.js感兴趣,不妨去查看cesium-examples-master并尝试运行其中的示例代码。 ### 回答3: cesium-examples-master是一个Cesium的示例代码。Cesium是一个开源的地球可视化,用于在Web浏览器中创建交互式三维地球和地球数据的应用程序。cesium-examples-master提供了许多不同类型的示例,展示了使用Cesium创建各种地球可视化应用的能力。这些示例包括地球模型的加载、地形数据的展示、地图投影的转换、地球上的点、线和面的创建等等。通过这些示例,开发者可以学习如何使用Cesium的API来构建自己的地球可视化项目,并根据自己的需求进行修改和扩展。cesium-examples-master的代码注释详细,对于刚开始学习Cesium的开发者来说是一个很好的参考工具。在cesium-examples-master中,开发者可以找到各种应用场景的示例代码,例如飞行模拟、地球上的图层切换、轨迹的绘制和动态效果等等。总之,cesium-examples-master对于想要学习和探索Cesium地球可视化的开发者来说是一个非常有用的资源。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值