Archived Forum Post

Index of archived forum posts

Question:

What is a CkSocketW.createNew method?

Sep 29 '16 at 07:59

Hello.

I am using Chilkat for Unicode C++.

What is a CkSocketW.createNew method?

Documentation not contains description.

Thank you.


Accepted Answer

This method simply returns "new CkSocketW", but encapsulates the "new" in a try/catch so that if possible, 0 is returned instead of crashing the program if an out-of-memory condition occurs.