Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / September 2005

Tip: Looking for answers? Try searching our database.

socket programming help

Thread view: 
GMHK - 01 Sep 2005 12:16 GMT
Hi,

I am trying to read the data from the website and modify the data,
using the java programming.
for example: i have a website with some information for example:  Age:
24

My core objetive is to modify to the value of age from 24 to 56.

i am trying to solve this problem only with the java networking
package.
can anyone give ideas on how to go about it.

Thanks and Rgds
HariKiran GM
Roedy Green - 01 Sep 2005 17:17 GMT
>I am trying to read the data from the website and modify the data,
>using the java programming.
[quoted text clipped - 6 lines]
>package.
>can anyone give ideas on how to go about it.

Typically this is done by sending in GCI-like requests to a womb
running servlets. Either with a browser, an Applet or a JAWS app.
However, in your case that may be overkill. All you may need is a 1-1
socket connection where you send a binary message and get one back. In
any case you need code both running in the client and the server.

See http://mindprod.com/applets/fileio.html
for how to set up a raw socket connection.

See http://mindprod.com/products.html#ECHO for the source code for a
very simple server.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.