Aureole Posted March 28, 2008 Share Posted March 28, 2008 I'm trying to connect to an IRC Server with PHP and I always get an error similar to this: Warning: fsockopen() [function.fsockopen]: unable to connect to irc.quakenet.org:6667 in /home/veraci7y/public_html/playground/connecttoirc.php on line 29 <?php $server_host = "irc.quakenet.org"; $server_port = 6667; $server_chan = "#help"; // Line 29: $server['SOCKET'] = fsockopen( $server_host, $server_port, $errno, $errstr, 2 ); ?> Link to comment https://forums.phpfreaks.com/topic/98341-connect-to-an-irc-server-with-php/ Share on other sites More sharing options...
Aureole Posted March 29, 2008 Author Share Posted March 29, 2008 Bump... Link to comment https://forums.phpfreaks.com/topic/98341-connect-to-an-irc-server-with-php/#findComment-504225 Share on other sites More sharing options...
dezkit Posted March 29, 2008 Share Posted March 29, 2008 i dont think 6667 is quakenet, 6667 is gamesurge, i think Link to comment https://forums.phpfreaks.com/topic/98341-connect-to-an-irc-server-with-php/#findComment-504281 Share on other sites More sharing options...
Aureole Posted March 29, 2008 Author Share Posted March 29, 2008 That's the port......................................................... Link to comment https://forums.phpfreaks.com/topic/98341-connect-to-an-irc-server-with-php/#findComment-504283 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.