NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

KnockKnockServer and KnockKnockClient Example

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
span



Joined: 17 Aug 2009
Posts: 1

PostPosted: Mon Aug 17, 2009 11:46 pm    Post subject: KnockKnockServer and KnockKnockClient Example Reply with quote

I'm new to Netbeans IDE, and I'm currently learning about Sockets.

I'm trying to get the KnockKnock example from the Java Tutorials available here to work.

I have successfully run the example using command prompt, and I'm now trying to get it to work from within Netbeans so I can debug it and follow the code.

I've tried putting the three classes (KnockKnockServer, KnockKnockProtocol, KnockKnockClient) in the same project and also puting the KnockKnockClient in a separate project. Neither method up to this point has worked. When I try and run the server/client classes the program hangs.

Am I missing something, or is it just not possible to run this from within Netbeans?
Back to top
Melongo Annabel
Posted via mailing list.





PostPosted: Wed Aug 19, 2009 12:40 am    Post subject: KnockKnockServer and KnockKnockClient Example Reply with quote

Clever way to advice your blog....


From: Lenovo <address-removed>
To: address-removed
Sent: Tuesday, August 18, 2009 3:45:57 AM
Subject: [nbj2ee] KnockKnockServer and KnockKnockClient Example

This update has killed my site. I can no longer access admin area. The password and login has failed. Login redirects me to front page of the shop [Embarassed]

comparatif simulation taux credit auto (http://simulationcreditauto.net) - Taux cr
Back to top
Melongo Annabel
Posted via mailing list.





PostPosted: Wed Aug 19, 2009 12:48 am    Post subject: KnockKnockServer and KnockKnockClient Example Reply with quote

Span,
What does this have to do with NB? This is a Sun tutorial so you might be better off asking that question in a sun mailing list, don't you think?


From: span <address-removed>
To: address-removed
Sent: Monday, August 17, 2009 6:46:35 PM
Subject: [nbj2ee] KnockKnockServer and KnockKnockClient Example

I'm new to Netbeans IDE, and I'm currently learning about Sockets.



I'm trying to get the KnockKnock example from the Java Tutorials available here (http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html) to work.



I have successfully run the example using command prompt, and I'm now trying to get it to work from within Netbeans so I can debug it and follow the code.



I've tried putting the three classes (KnockKnockServer, KnockKnockProtocol, KnockKnockClient) in the same project and also puting the KnockKnockClient in a separate project. Neither method up to this point has worked. When I try and run the server/client classes the program hangs.



Am I missing something, or is it just not possible to run this from within Netbeans?
Back to top
emiddio-verizon
Posted via mailing list.





PostPosted: Wed Aug 19, 2009 5:04 pm    Post subject: KnockKnockServer and KnockKnockClient Example Reply with quote

it worked for me --- been awhile -- i still have the code that works in a nb project -- if you dont figure it out
i could zip it up and email it.

it wasnt that difficult -- try again --

gary
Quote:
----- Original Message -----
From: Melongo Annabel ([email]address-removed[/email])
To: address-removed ([email]address-removed[/email])
Sent: Tuesday, August 18, 2009 5:48 PM
Subject: Re: [nbj2ee] KnockKnockServer and KnockKnockClient Example


Span,
What does this have to do with NB? This is a Sun tutorial so you might be better off asking that question in a sun mailing list, don't you think?


From: span <address-removed ([email]address-removed[/email])>
To: address-removed ([email]address-removed[/email])
Sent: Monday, August 17, 2009 6:46:35 PM
Subject: [nbj2ee] KnockKnockServer and KnockKnockClient Example

I'm new to Netbeans IDE, and I'm currently learning about Sockets.



I'm trying to get the KnockKnock example from the Java Tutorials available here (http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html) to work.



I have successfully run the example using command prompt, and I'm now trying to get it to work from within Netbeans so I can debug it and follow the code.



I've tried putting the three classes (KnockKnockServer, KnockKnockProtocol, KnockKnockClient) in the same project and also puting the KnockKnockClient in a separate project. Neither method up to this point has worked. When I try and run the server/client classes the program hangs.



Am I missing something, or is it just not possible to run this from within Netbeans?








Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo