Hello, am new to the real programming but i have very much interest.
As a first real java project am trying to develop a P2P network application which can be used for chatting, but the problem is:
Should it load as a server.and if so how do i get it to listen for connections and read any incoming input stream, b'se when I try putting the server code in the GUI interface constructor, it keeps throwing the socketexception:socket not connected. I dont know how to listen before any client connects and yet get the input. Anyway, am just confused right now. Some one just bail me out.
Thanx.
sitajaf 0 Newbie Poster
maceman -4 Posting Pro
NormR1 563 Posting Sage Team Colleague
princehellan 0 Newbie Poster
NormR1 563 Posting Sage Team Colleague
Stefano Mtangoo 455 Senior Poster
Krefie 5 Light Poster
sitajaf 0 Newbie Poster
sitajaf 0 Newbie Poster
Stefano Mtangoo 455 Senior Poster
VirtualAssist -6 Newbie Poster
Stefano Mtangoo 455 Senior Poster
sitajaf 0 Newbie Poster
Stefano Mtangoo 455 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.