• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How to implement Socket Chat in IIS web Server ????

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed a chat program using Server socket and Client as Applets. now im stuck with the implementation in WEB SERVER IIS.
Pls tellm me what should be done ??
 
Ranch Hand
Posts: 5390
1
Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
run your server program as normal java program and let applet be access through normal HTTP.
 
sri dhar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Attention pls Mr.Ravish
Thanks for your reply. can u tell me
1. Is it necessary that both the Chatsocket SErver and client should be run in the same server. pls let me know
 
R K Singh
Ranch Hand
Posts: 5390
1
Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Till your client can connect your server over LAN/WAN/ Internet throug IP addr or m/c name, client is not needed on same m/c.
 
sri dhar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Attention pls Mr.Ravish
Thanks for you iteresting response. But could u help further by tell ing teh reall steps needed to implemnt the Socket server.
i.e pls let me know where should i put the my ChatAdminServer ,ChatClient(applet in html);
do i have to get a Port from the Internet host .Becuase as such we dont have WEBSERVER for our company we are relying on some other host.
So pls let me knwo the steps involved elaboratley becuase i would like to understand more about this issu.
thanks for you time once again
sridhar
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to put your ChatClient applet in a directory accessible from the internet, and of course point to it correctly from your html page.
About the ChatAdminServer, it have to be running on the server machine, and of course it need privileges to open the needed port/s.
If your company is not the owner of the server, you need to ask for that permission,
but most of the times the host will refuse to grant it if they do not trust enough in your programs...
 
sri dhar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Mr.Ravish,

(since we dont have a web server for our own self and also as told by u the WEB host will not grant us permission to run my socket program);
Thanks for clearing my doubt. I still have some doubt .pls let me know whether i can CAN I DO THIS
1.Run the ChatAdminServer in my LAN network .and i will give all permission for a client applet residing in the web on some other web server machine.
2. And also we are getting an IP which is not static .It changes daily so what we can do..
If so pls let me how can i do this.
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic