But how would you send the specific packets for entering?
fsockopen() would be the 1st step, but after you conenct you have to enter.
Anonymous - Tue Dec 06, 2005 10:27 pm
Post subject:
yea thats where im currently stuck. I can you stdin for input, but the incoming data from ther server is halted until you hit enter.. so if you talked real fast it would stay up to date
Donkano - Tue Dec 06, 2005 11:08 pm
Post subject:
The guys on irc.freenode.net in the channel ##php might have a solution to this.
Anonymous - Tue Dec 06, 2005 11:14 pm
Post subject:
yea i was there already and tried.. pretty much no conclusion on input.. but hey if all you want to do is see whats going on it works great
Solo Ace - Wed Dec 07, 2005 2:33 am
Post subject:
I'm not sure why you would want to do this when there's grelminar's ccc, but if you really want to I guess it not a bad idea to try.
I wouldn't pick PHP for it, but if it floats your boat...
Donkano, he would just send LOGIN:1;<client>:<name>:<password> and GO:<arena>?
Bak - Wed Dec 07, 2005 3:12 am
Post subject:
ccc uses curses, which doesn't have a windows port.
Solo Ace - Wed Dec 07, 2005 3:14 am
Post subject:
Indeed, which is a problem a few people faced already, but this idea is for Linux anyway, so does that even matter?
Bak - Wed Dec 07, 2005 9:04 am
Post subject:
Well the proposed on-line chat environment would be platform independent, although for his linux chat client you are right.
phong - Wed Dec 07, 2005 1:24 pm
Post subject:
Interesting, ill look into it some more.. What I may end up trying is making a second script, basically a local input server (would listen on loopback), hmmm