[dx] Posted September 15, 2013 Share Posted September 15, 2013 Hi guys,I'm trying to make some web irc client based on nodejs.So I'm trying to understand how it should work. I'm using this module https://github.com/martynsmith/node-irc but it's only node <--> irc server communication part.So how I can make and which library to use to make web browser <--> node part?Regards. Link to comment Share on other sites More sharing options...
birbal Posted September 15, 2013 Share Posted September 15, 2013 I am not aware of that particular module. I believe you need to look into websocket. Link to comment Share on other sites More sharing options...
[dx] Posted September 15, 2013 Author Share Posted September 15, 2013 (edited) How it should work? Open socket connection to nodejs? How to make connection with data and user who sends? Edited September 15, 2013 by Haris S Link to comment Share on other sites More sharing options...
thescientist Posted September 16, 2013 Share Posted September 16, 2013 (edited) NodeJS runs on the server. From reading the readme, this module is likely a wrapper for interacting with a IRC API. It seems like you would send messages from a users browser, to the server, and have the server side script setup to handle the routing, sending and retrieving messages, etc. Edited September 16, 2013 by thescientist Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now