• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Feature Requests (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Adding new container

This forum is now locked as we will no longer be developing the v1.x branch

Moderators: OldWolf, re*s.t.a.r.s.*2

Topic locked
1 post • Page 1 of 1

Postby priikone » Thu Jul 06, 2006 11:15 pm

Hello,

This is not a feature request but just a question. I'd like to add support for SILC (Secure Internet Live Conferencing) protocol with phpfreechat. I haven't looked at the pfc code much yet, but the SILC side would be using a client called SilcImproved (si) which utilizes FIFOs for very simple filesystem based access to the SILC network. Si works as follows:

After connecting to a server with si command, the filesystem hierarchy is created:

server.foo.bar/
server.foo.bar/in
server.foo.bar/out

The "in" file is FIFO and anything wrirtten into it (assuming it's valid data) will be sent to the SILC server. So for example writing "/join foobar" into in would join channel foobar in the SILC server. Anything the server outputs will appear in the "out" file, which can be read from there. So after joining foobar the filesystem is as follows:

server.foo.bar/
server.foo.bar/in
server.foo.bar/out
server.foo.bar/foobar/
server.foo.bar/foobar/in
server.foo.bar/foobar/out

Again, anything written to "in" file in foobar/ dir would send the message to the channel foobar and any messages received on the channel can be read from "out" file. Works similarly with private messages.

So, the question is, not having looked at pfc code much yet, how hard would it to add support for this, either by modifying the pfc code or by adding a new container. Basicly what is required is that the commands user write will be written into the "in" files, as most commands pfc use, si use also. It would also be nice to be able to send any SILC specific commands user write as is into the "in". Other thing that is required obviously is support for the filesystem hierarchy, and the ability to read the "out" file that will receive the messages (it's normal file which will grow in size when new message is written into it).

Pekka
priikone
New member
 
Posts: 1
Joined: Thu Jul 06, 2006 10:57 pm
Top

Topic locked
1 post • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 3 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub