send 0byte after every send

These are old archives. They are kept for historic purposes only.
Locked
Martin
Posts: 3
Joined: Sat Aug 21, 2004 5:13 pm

send 0byte after every send

Post by Martin »

Hi,

Is it posseble to let the server send the 0 byte after every line that the server sends to the client?

when it is posseble I can make an webchat in flash. flash needs the zero byte after every line :(


Is it maybe posseble with a module???
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Neither is possible, but if you really want to write a flash client that supports every kind of IRC server softwares, then I suggest using an IRC Gateway like WIG, which is used by, for example, WFIC, an IRC client written in Flash. Using such a gateway might be inconvenient, but it does exactly what you want.
Martin
Posts: 3
Joined: Sat Aug 21, 2004 5:13 pm

Post by Martin »

AngryWolf wrote:Neither is possible, but if you really want to write a flash client that supports every kind of IRC server softwares, then I suggest using an IRC Gateway like WIG, which is used by, for example, WFIC, an IRC client written in Flash. Using such a gateway might be inconvenient, but it does exactly what you want.
But when you use a gateway anybody has the same hostname :(

but flash is now recieving data from the server but the 0 byte isnt after al lines :(

I edited the server source, But I don't know where I need to edit to get the 0 byte after any line :(

[edit]
Hmm now he sends after any line the 0 byte before the \n

but does this have effect for mirc and other irc clients?
do I need to link this server to a other and make this server only for flash clients?
[/edit]
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Oh, sorry, it didn't came into my mind that gateways lose clients' original hostnames. I think this is leading to a similar problem that CGI:IRC support raised. But that can be solved with modules.

I can't answer your latter questions, because now that you edited the source, you have lost support officially. Altering the Unreal source code is not supported.
Martin
Posts: 3
Joined: Sat Aug 21, 2004 5:13 pm

Post by Martin »

AngryWolf wrote:Oh, sorry, it didn't came into my mind that gateways lose clients' original hostnames. I think this is leading to a similar problem that CGI:IRC support raised. But that can be solved with modules.

I can't answer your latter questions, because now that you edited the source, you have lost support officially. Altering the Unreal source code is not supported.
ok :(
but eggdrops doesnt like the server I think I link a special server for webchats :)
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

As AngryWolf said, once you modified the source, you lose your support.
-- codemastr
Locked