in reply to Re: Win32 Process Create
in thread Win32 Process Create

I'm trying to write a script that will communicate with my irc server so I can talk to other people that are on my webpage (I already have the who, what, and where for them) in a partioned out "messages" window on the right of my webpage. I know I'm not supposed to advertise here, but if you look at https://prinet.org (and give it a second to setup) you can see on the right side where I'm trying to inter-connect the irc server, where, I use my page script that can do it's own nick changes, channel changes, etc, I just want the "messages" in the right window.


I tried re-inventing the wheel again, but everytime I push it, it still falls flat on it's side...

Replies are listed 'Best First'.
Re^3: Win32 Process Create
by Anonymous Monk on Feb 16, 2015 at 02:47 UTC
    I'm trying to write a script that will communicate with my irc server

    Your CGI could speak the IRC protocol with the appropriate modules - Why do you need to execute a program for this, especially one that opens a window on the desktop?

    There's also existing web-based IRC clients that you might be able to tie into your website. A quick google brings up https://kiwiirc.com/ or http://shout-irc.com/ among others.

      I needed to start a "node.js" shell on the server to handle some of the backend of the client, and I wanted to monitor what was going on with my script while I was developing it. Using the example I posted earlier, I can get the 'node irc-connect.js' program started without any errors now, but I have no way of 'directly' following it's progress, I guess I will have to just rely on my blind-wit to code it properly, I'm begining to think it's not quite as 'transparent' as I hoped... *heh*... I appreciate everything you have helped me with Anonymous, and will use your direction in my further travels here with this project. I just like writing my own code rather than adopting others, I learn more I think... I did manage to write a strictly raw perl smtp/pop3 communication routine thats crude, but pretty fast ! Thanx again. -Gary


      I tried re-inventing the wheel again, but everytime I push it, it still falls flat on it's side...