954,536 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

urgently need java code

need java program to copy the contents typed in client to server in same computer with different ports for both.

youngisthan
Newbie Poster
2 posts since Aug 2008
Reputation Points: 8
Solved Threads: 0
 

I should point out that at this forum we are helping people to solve they programming errors not to do their full homeworks/projects.

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

Open a socket , read at server end , write at client end , you will not get a simple homework than this .

ithelp
Nearly a Posting Maven
Banned
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
 
Open a socket , read at server end , write at client end , you will not get a simple homework than this .

Pretty much, especially since the Client connects to the server at a different port (called the HandShake point) so that the Server can accept connections from other Clients.

Alex Edwards
Posting Shark
972 posts since Jun 2008
Reputation Points: 392
Solved Threads: 109
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You