Jump to content

NodeJS - communicating between sides


[dx]
 Share

Recommended Posts

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

I am not aware of that particular module. I believe you need to look into websocket.

Link to comment
Share on other sites

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 by thescientist
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...