Re: euLibnet and IRC

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 27 May 2001, at 9:59, Thomas Parslow (PatRat) wrote:


> 
> > Hi Peter,
> > 
> > I "attempted" to help Ryan Breen get an IRC client going using euLibnet
> > (and also I tried euTcp4u) and had no success.
> > 
> > I "suspected" the problem lies in the fact you need an "Ident" server
> > running on your own PC.  This allows IRC servers to verify who you
> > say you are.
> > 
> > I tried using external Ident servers but had no success.
> > Possibly the ident server needs to be built into the client in which case
> > both
> > euLibnet and euTcp4u won't work because they both use blocked sockets and
> > Euphoria doesn't allow threads.  Possibly I just had poor code and it is
> > possibly both wrappers could work as well!!!
> > 
> > I "think" the only way possibly would be to use the winsock wrappers which
> > can
> > be found through the archive.  It will be more difficult to implement as you
> > need to use pure winsock instead of using higher level libraries.
> > 
> > About my home page ... all the files have been removed for some reason and I
> > can't get an answer from Yahoo as to why. A FAQ page says it "possibly"
> > because of a breach of the terms of conditons but I can't get it confirmed.
> > (and don't know what I would have breached!)
> > 
> > If you (or anyone) want any of my software please email me privately and
> > I'll
> > send it to you (smithr at ix.net.au).
> > 
> > Ray Smith
> 
> Hi!
> I had a little look around and found a couple of usefull IRC related
> documents, there's the specs at:
> http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1459.html
> And a page about using Telnet to access IRC at:
> http://www.daemonnews.org/199907/irchack.html
> I tried using telnet and it works fine, you need to also send the:
> NICK username
> command after the USER command though (at least on irc.sorcery.net
> where I tried it)
> 
> Anyway, if it can be accessed by telnet then it shouldn't be to hard
> to access by euphoria :)
> 
> Thomas Parslow (PatRat) ICQ #:26359483

I got to Sorcerynet with Eu and tcp4u, did some mode changes, set up a 
notify for chanserv and nickserv, joined a channel, said something, and quit.:

. 07:45:51am 05/29/01  [TiggrTest] joined
. [TiggrTest]!Gertie at 6ca5eca3.14055a5c.208.5.imsk
. 07:45:51am 05/29/01 ChanServ op'd [TiggrTest] in #Tiggrbot .
.Population: @[Tiggr] [TiggrTest] .
[07:45] <[TiggrTest]> testing!
. 07:46:15am 05/29/01 Tuesday [TiggrTest]  quit: Quit: Tiggrtest done testing 
.
. [TiggrTest]!Gertie at 6ca5eca3.14055a5c.208.5.imsk .
. [TiggrTest] was at 208.5.29.118 .


I found two bugs in tcp4u:

line 505 in function tcp4u_connect() 
connect_socket should be an atom, it goes outside the range of integers

lines:
495:     port_addr = allocate(2)
496:     poke(port_addr, port)

make them into:

port_addr = allocate(4)
poke4(port_addr,port)

That should be enough to get started. I don't have a gui yet, but that's not 
really on the list of things to do. Of course, until last nite, i wasn't going
to
write an irc client either.......

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu