
External Measurement API
wqCreateConnection()
wqCreateConnection()
Establishes a connection to the SCI component of WebQoS.
Synopsis
#include </opt/webqos/include/qosExternMeaseAPI.h> or #include
wqStatus wqCreateConnection(char *hostname, wqSocket *socket)
Arguments
hostname | The name of the system running the WebQoS SCI |
| component. |
socket | The socket descriptor returned by WebQoS and used by |
| the two other methods to identify the connection to |
| WebQoS. |
Return Value
wqCreateConnection() returns a
Return Value | Status |
|
|
WQ_STATUS_OK | A connection with WebQoS has been established. |
|
|
WQ_STATUS_FAILURE | Could not establish a connection with WebQoS. |
|
|
136 | Appendix B |