archaelus / erlirc Goto Github PK
View Code? Open in Web Editor NEWErlang IRC client/server framework
License: Other
Erlang IRC client/server framework
License: Other
I got it running on Debian, and I can connect with a telnet session, and it seems to be working fine.
Then I try to connect using xchat, since it's supposed to be an irc server, and the server crashes.
** Reason for termination =
** {function_clause,[{irc_s2c_fsm,csend,
[<0.152.0>,err_nonicknamegiven],
[{file,"src/irc_s2c_fsm.erl"},{line,316}]},
{irc_s2c_fsm,login_nick,2,
[{file,"src/irc_s2c_fsm.erl"},{line,111}]},
{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,494}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}
I'm running the latest version of erlang.
Following the example for the server, I get a console after the first command, but when I try irc_app:start()., I get this error: undefined function irc_app:start/0
Add an example of how to send a message, something like:
{ok, D} = irc_client_fsm:start_link("erlirc", "server").
Msg = #irc_cmd{name=privmsg,args=[{message, "Hello!"}],target="Nickname"}.
irc_client_fsm:send(D, Msg).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.