RE: IRC client

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

eureka :P

  I found the tcp4u fix that Kat had posted back in July, I am now able 
to connect to the server.

  Now, to figure out how to log on!

Ray, you really should post an update of eutcp4u, with the needed fixes, 
would save some trouble :)
I haven't looked into it, but perhaps it's a similar problem with 
eulibnet, I wasn't able to connect with that one either.

here is Kat's fix..

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



bensler at mail.com wrote:
> Kat,
> 
> I'd be interested to see your program, working or not. All that I'm 
> really interested in is being able to establish a connection to the 
> server.
> >From there, I'd like to make my own tracks.
> Maybe you can just guide me to where I'm going wrong.
> Is eutcp4u sufficient 'as is' in the archives, or does it require 
> modifications to make it work with IRC?
> 
> I've looked in the archives for your IRC.exw, but have turned up null.
> 
> Chris
> 
> 
> Kat wrote:
> > On 5 Jan 2002, at 4:45, bensler at mail.com wrote:
> > 
> > > 
> > > Hi all,
> > > 
> > >   I'm currently experimenting with LAN networking and have taken 
> > > curiosity in attempting to build a simple IRC client.
> > > 
> > >   Can someone give me a simple example of establishing a client 
> > > connection to an IRC server? Or perhaps there is already an IRC 
> > > compatible client in the archives already and I've overlooked it.
> > 
> > I did get a irc client going with tcp4u, and connected to sorcerynet and 
> > 
> > 
> > dalnet at the same time, in several channels at once on each net. 
> > Problem 
> > is, i got distracted while i was changing it over to use less cpu time, 
> > and 
> > broke it! I was also adding features like mirc, the events stuff, like 
> > on_text 
> > and on_notice, and on_ctcp, and etc.. It ran great, kept all the channel 
> > 
> > stuff 
> > separate thru the events, and separate based on net too, and yet the 
> > events 
> > could still access data from other servers and other channels.
> > 
> > I'll try to get it going again....
> > 
> > Kat
> > 
> >

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

Search



Quick Links

User menu

Not signed in.

Misc Menu