|  | Home | Libraries | People | FAQ | More | 
Send a websocket ping control frame.
void ping( ping_data const& payload, error_code& ec);
This function is used to send a ping frame, which usually elicits an automatic pong control frame response from the peer. The call blocks until one of the following conditions is true:
            The algorithm, known as a composed operation, is
            implemented in terms of calls to the next layer's write_some
            function.
          
| Name | Description | 
|---|---|
| 
                       | The payload of the ping message, which may be empty. | 
| 
                       | Set to indicate what error occurred, if any. |