Tag: networking

Socket close platform compatibility

The os.close() does not work on some platforms.

Hardcoded IP address

Hardcoding an IP address can cause security problems.

Insecure connection using unencrypted protocol

Connections that use insecure protocols transmit data in cleartext, which can leak sensitive information.

Socket connection timeout

Not setting the connection timeout parameter can cause a blocking socket connection.