Chilkat v11.3.0 Release Notes

Pinned December 16, 2025

  The main features of this release focus on Chilkat’s Ai class, enabling interactive AI response streaming directly into embedded desktop application browsers. It supports Azure, custom base URLs for OpenAI-compatible providers, and local providers like Ollama. ✨ New Features Ai Real-Time Streaming AI Responses to Embedded Browsers in Desktop Apps — Stream AI responses […]

Chilkat v11.2.0 Release Notes

Pinned November 3, 2025

Previous Version: Chilkat v11.1.0 Release Notes The main addition in v11.2.0 is the Chilkat.Ai class, and the Chilkat.StringBuilder.MarkdownToHtml method. Ai: The Chilkat AI class provides a unified API for interacting with different AI providers: OpenAI, Google, Claude, xAI, Perplexity, and DeepSeek. It provides functionality for conversation management, multimodal inputs, and streaming mode. Markdown to HTML […]

Semantic Versioning Starting with Chilkat 10.0.0

Pinned September 26, 2024

Starting with the v10.0.0 release (end of September 2024), Chilkat moves to standard semantic versioning.   Prior to this release, for various technical reasons, Chilkat was stuck with versions 9.5.0.xx, where only xx changed. For this first leap to semantic versioning, where the major version changes to 10 (from 9), there are no backward incompatible changes.  […]

Chilkat Socket Thread-Safety

November 20, 2023 in Socket Programming

Question: In my Visual FoxPro program, accessing the IsConnected property on a ChilkatSocket hangs when a “ReceiveUntilByteBdAsync” is run immediately after connecting the socket. Here is a minimal reproducible example: LOCAL loSocket loSocket = CreateObject(‘Chilkat_9_5_0.Socket’) loSocket.connect(‘127.0.0.1’, 8945, .f., 5000) &&used external socket server to be sure it was unrelated loBinData = CreateObject(‘Chilkat_9_5_0.BinData’) loTask = loSocket.ReceiveUntilByteBdAsync(ASC(‘Z’), […]

SoSndBuf and SoRcvBuf Properties

October 25, 2012 in Uncategorized

Beginning with Chilkat v9.4.0, two new TCP socket performance properties, SoSndBuf and SoRcvBuf, will be added to each of the following Chilkat components/libs: FTP2, HTTP, SFTP, SSH, SshTunnel, IMAP, and MailMan (POP3/SMTP). These properties allow for the underlying socket’s send and receive buffer sizes to be set. These are socket options associated with the setsockopt […]

Android Socket Permission Denied Error

May 9, 2012 in Uncategorized

If the LastErrorText contains a line such as this: socketError: Permission denied It means you need to add permissions for Internet communications in your manifest. It should be placed outside of the application tag, such as: <manifest> <application> . . . </application> <uses-permission android:name=”android.permission.INTERNET” /> </manifest>

Socket Programming – “Must-Know” Concepts

May 24, 2010 in Socket Programming

If you’re just starting to program with TCP connected sockets using the Chilkat Socket API, then these concepts should be understood before beginning. 1. Receiving Data from a Connected Socket. The ReceiveBytes and ReceiveString methods will return whatever data has already arrived and is available on the connected socket.  It is not guaranteed to return […]

Socket “Not ready for writing” when trying to Connect?

December 8, 2009 in Uncategorized

Question: Can you tell from this log why it would say “socket is not ready for writing”? OpenSmtpConnection: DllDate: Jun 9 2009 UnlockPrefix: **** Username: Administrator Component: ActiveX Need new SMTP connection SMTP_Connect: Connecting to SMTP server mail.****.com:25 smtp_host: mail.****.com smtp_port: 25 domain: mail.****.com smtp_user: **** socket is not ready for writing Connect function failed. […]

Socket SendString (C++) w/ TCHAR

October 30, 2009 in Uncategorized

Question: I need to send a unicode string (e.g TCHAR *ptr) but the API only allows to send char. Answer: /* The _TCHAR data type is defined conditionally in Tchar.h. If the symbol _UNICODE is defined for your build, _TCHAR is defined as wchar_t; otherwise, for single-byte and MBCS builds, it is defined as char. […]

Socket Error: WSAEWOULDBLOCK

September 14, 2009 in Uncategorized

NOTE: If this error occurred while trying to establish an FTP data connection, also see this: https://cknotes.com/?p=282 A WSAEWOULDBLOCK error when trying to establish a TCP/IP socket connection indicates one of the following conditions: A firewall at either the client or server side is blocking the connection. There is no server listening at the remote […]

Asynchronous Sockets

February 3, 2009 in Uncategorized

This blog post is an attempt to explain the concepts of asynchronous socket programming using the Chilkat Socket class/component.   There are five types of socket operations that may occur asynchronously: Socket read. Socket write. Connect to remote hostname:port Accept connection from client DNS lookup A synchronous socket operation is easy to understand.  If you call […]