ssCore.UDP.close

Closes the socket opened in UDP.open.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

None.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.UDP.close( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.UDP.close( paramsObject );


Notes:

If a plugin instance is to be reused, UDP.close must be called before a subsequent call to UDP.open.

UDP.close terminates the event notifications started by a prior call to UDP.recvMsg.

                

Examples:

ssCore.UDP.close();