Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 19th, 2009, 5:51 AM   #1
hemanthrj
Newbie
 
Join Date: Feb 2009
Posts: 3
Rep Power: 0 hemanthrj is on a distinguished road
Echo Server Program In Java

Pls Give Me Codes For The Program Echo Server And Client Server
And Tcp Handshake Programs In Java
hemanthrj is offline   Reply With Quote
Old Feb 19th, 2009, 9:46 AM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Google / Kitchener
Posts: 4,154
Rep Power: 15 Sane has a spectacular aura aboutSane has a spectacular aura about
Send a message via MSN to Sane
Re: Echo Server Program In Java

You're kidding, right? Why should we do your work for you? Simply because you asked 'please'? Need a poke to get you started?
__________________
PFO's Folding@Home Team | Sane's Monthly Algorithms Challenges
Rules | How to Post a Question | How to Post Code

Becoming a good programmer requires foresight of your code's execution.
Becoming an excellent programmer requires foresight of your code's modification.
Sane is offline   Reply With Quote
Old Feb 19th, 2009, 8:47 PM   #3
silent1mezzo
Hobbyist Programmer
 
Join Date: Aug 2007
Location: Mississauga ON
Posts: 125
Rep Power: 8 silent1mezzo is on a distinguished road
Re: Echo Server Program In Java

Haha, I love guys like this.

You want the codes? You can't handle the codes....

But honestly, I made a server in Java in under 30 minutes. Its not hard at all.
silent1mezzo is offline   Reply With Quote
Old Feb 19th, 2009, 9:54 PM   #4
zhitz18
Programmer
 
Join Date: Sep 2008
Posts: 73
Rep Power: 0 zhitz18 is on a distinguished road
Re: Echo Server Program In Java

haha wow...
zhitz18 is offline   Reply With Quote
Old Feb 19th, 2009, 10:53 PM   #5
hemanthrj
Newbie
 
Join Date: Feb 2009
Posts: 3
Rep Power: 0 hemanthrj is on a distinguished road
Re: Echo Server Program In Java

Sir,Pls send me the codes.i m just searchin for it .So pls provide me codes
hemanthrj is offline   Reply With Quote
Old Feb 19th, 2009, 11:11 PM   #6
silent1mezzo
Hobbyist Programmer
 
Join Date: Aug 2007
Location: Mississauga ON
Posts: 125
Rep Power: 8 silent1mezzo is on a distinguished road
Re: Echo Server Program In Java

Dude, NO.

If you have a specific question we'll be more than happy to help you. We can't give you the code though. You need to learn it on your own.
silent1mezzo is offline   Reply With Quote
Old Feb 20th, 2009, 12:34 AM   #7
hemanthrj
Newbie
 
Join Date: Feb 2009
Posts: 3
Rep Power: 0 hemanthrj is on a distinguished road
Re: Echo Server Program In Java

Thanks for ur reply sir,I m goin g to create a simple echo server client program for my project based on IP Spoofing.Cud u pls suggest me how to initiate writing codes for it
hemanthrj is offline   Reply With Quote
Old Feb 20th, 2009, 12:46 AM   #8
MadLurker
Programmer
 
Join Date: Nov 2008
Posts: 44
Rep Power: 0 MadLurker is on a distinguished road
Re: Echo Server Program In Java

Start by learning the language.
MadLurker is offline   Reply With Quote
Old Feb 21st, 2009, 5:04 PM   #9
Bensky
Programmer
 
Join Date: Dec 2008
Posts: 30
Rep Power: 0 Bensky is an unknown quantity at this point
Re: Echo Server Program In Java

A simple google search for "client server java" would give you what you're looking for...
Bensky is offline   Reply With Quote
Old Feb 21st, 2009, 5:23 PM   #10
Freaky Chris
Expert Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 771
Rep Power: 8 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
Re: Echo Server Program In Java

Java Syntax (Toggle Plain Text)
  1. public class Server {
  2. public static void main(String args[]){
  3. Connection client = new Connection("desktop");
  4. while(true){
  5. String s = client.getData(50);
  6. client.sendData(s+s);
  7. try{
  8. Thread.sleep(100);
  9. }catch(Exception e){}
  10. }
  11. client.close();
  12. }
  13. }
__________________
Steven Skiena - Algorithms

,[->+>+<<]>>[-<<+>>]>++++++++[-<++++++++>]<+[-<->]>+<<[[-]+++++++++++++++.[-]>]>>[+++++++++.[-]],
brainf**k -- It's such a pretty language
Freaky Chris is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking remote server and machine program rajasalleh C++ 9 Sep 29th, 2008 5:12 PM
Php with Sun Java System Application Server Platform lucifer PHP 0 Jun 7th, 2007 5:03 AM
First Java Program duale2005 Java 3 May 22nd, 2006 6:17 PM
java echo server cwl157 Java 3 May 20th, 2005 1:10 PM
Can anybody do a C++ to Java program change? Celvaeti Java 3 Jan 20th, 2005 3:56 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC