WSAEACCES An attempt was made to access a socket in a way forbidden by its access permissions

Question: Do you have any idea what I could do to get around the following error that is generated by Chilkat DLL?  I have verified that I can run PHP scripts (i.e., version()) through the port 3017 in localhost, so IIS and PHP are configured properly.  The lcUrl = loOauth2.StartAuth() …

Android Socket Permission Denied Error

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>

WSAECONNREFUSED No connection could be made because the target machine actively refused it.

One possible cause of this socket connect error is when an Anti-Virus program blocks the connection. This can happen if the AV program is blocking the outbound port. If some programs can connect to a given remote host:port, but your application cannot, then check your Anti-Virus program to see if …

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

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 …

Asynchronous Sockets

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 …