This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques and have Mario Casciaro & Luciano Mammino on-line!
See this thread for details.
Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

PHP chat to write files to my home pc

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok lets start by appologising for just throwing this in genral, i realy dont know where to put it.

What i am wanting to do is a client server type thing (my only experience of this is java RMI in university) that sends the typed text from the web page to my home PC, and the PC sends text back which is displayed onscreen.

Let me put this in context, the idea is to load up the page on a smartphone (the client), (or a standard ipod toutch 4 in my case, or even any other PC for that matter) type in what ever you want, and have it send the text to the users home PC (the server) which would have a java application listening for the request.
The server side application would then output the text to a file, and read in a text file that is being generated from a computer game's Guild chat system and send any new lines to the client page. (i assume this would not be normal call / responce as the client and server need to send Strings back and forth indipendantly of eachother.

Basicly i'm not realy sure where to begin. I dont want to have to set up a web server on my home PC (especialy because this will be distributed amongst other players of whom may only have basic computer skills) but as for the web page itself, for now, i can hoast it on a friends web server.

Im not sure if much security will be needed, as i imagine that loggin details would just be the users home ip / port, and a self made username / password so only they can connect to their PC's server side application.

I would greatly appriciate someone pointing me towards some literature that can help me with this so i can get started, and potencialy bug you guys further ^_- (google seems to just want to tell me how to send SMS messages lol).

Thanks in advance.
Steve.



 
I found a beautiful pie. And a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic