AutoIt
Socket/SSL/TLS Examples for AutoIt
Connecting, Sending and Receiving
- TCP/IP Socket Connect to Remote Host:Port
- Socket Connect Failure Cases
- Receiving a String
- Send Bytes on a Socket Connection
- Send UTF-16 on TCP or TLS Socket
- Socket Select for Reading
- Bidirectional Sockets (TLS or non-TLS, simultaneous reading and writing a connection)
- Transfer a File using Sockets (TLS or non-TLS)
- Socket Convenience Method: BuildHttpGetRequest
Servers and Accepting Connections
- Accept Connection on Socket
- Bind and Listen on a Randomly Selected Unused Port
- Async Accept Socket Connection
- SSL Server Example
- Accept TLS Connection with Client Authentication
- Examine Client Certificates for an Accepted TLS Connection
SSL/TLS Clients and Certificates
- SSL Client Example
- Verify SSL Server Certificate
- Examine SSL/TLS Server Certificate
- Get TLS Server's SPKI Fingerprint
- SSL Client Certificate
- Socket TLS Mutual Authentication (Client-Side Certificate)
- Socket Enable TLS 1.3
Proxies and SSH Tunnels
- TCP Socket Connect through HTTP Proxy
- Socket/SSL/TLS through SOCKS5 / SOCKS4 Proxy
- TCP Socket through SSH Tunnel (Port Forwarding)
- TLS Connection within SSH Tunnel (Port Forwarding)
- TCP or TLS over Multiple Hop SSH to Remote Server
Async, Debugging and Network Utilities
- Asynchronous Sockets - Reading/Writing Data
- Debugging with Socket Session Logging
- Get Current Date/Time from NIST Time Server
- Get Network Adapter IP and MAC Addresses
- Check Internet Connectivity