serversocket - Building a chat server using Amazon EC2 -


I am working on creating chat servers using simple sockets. I was thinking that this is a basic chat server It is possible to make use of the Dragon Socket Server Library and an Amazon ec2 example. Also, if you have any better recommendations please let me know

You use Amazon EC 2 server can facilitate communication from server to server. Depending on how you open the socket, you may need to configure your EC2 instances to listen to incoming connections on some ports; To allow inbound connections, see more details about how to modify your server's security settings.

As far as alternative recommendations are there, I have a real-time network like PubNub relay data between your chat client and server. Using real-time networks means that you can spend less time thinking about low-level socket issues such as Concurrency and creating your application.

In the case of PubNub, your server will be allowed to subscribe to chat channels, while it can work better for any web-based client.

Look at this example: I believe this approach will work for your scenario, while your server will be allowed to subscribe to a single chat channel to log chat messages.

Tell me whether it works for you or not, शुभकामनाएं!

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -