How to send data to a port from a webpage??
I'm in need of something for a project.
I have a webpage. It has HTML and some php in it. Now, the page has a button. If the button is clicked,
I want to get the value of a particular textbox in the page and send it to a port in the server's computer.How to do that?
To elaborate, the server computer will be running a java program which will be listening on a particular port. Now, if the client
clicks a button, then the textbox value must come to the port which is being listened to in the server. How can I do this? Any ideas?
Edit : Assume port number to be anything other then ports which are used for specific things by default, say 80 or 21.
Assume it to be 8001 or 9000 etc..