Closed Amunak closed 7 years ago
Dropped the fsockopen, but haven't yet looked at socket context.
As per https://github.com/WildPHP/Wild-IRC-Bot/commit/b342d59cd7366d8c7d15d7a6a73ef04a06cb3d05 you can now pass context socket options to the Connector component. This allows you to bind the TCP connection to a specific interface.
This requires dropping this fsockopen in favor of stream_socket_client with socket context.