In the ServerThreadThread class why did u use the docket input stream to read data ?
@PrototypePrjs2 жыл бұрын
watching P2P chat w/ JAVA - prototype project 02 (short & members-only versions) might help in better understanding the logic here
@abdulrahmanafifi8914 жыл бұрын
How to implement this chat in multi-ad-hoc networks?
@cfrojas3 жыл бұрын
Hi! we would like to contact you for a project in Latin America. where can we contact you?
@PrototypePrjs3 жыл бұрын
adam@prototypeprj.com send short project description + time span + budget + quick summary about your professional background
@smooth89914 жыл бұрын
jsonObject from line 20 in PeerThread is blocked. what can i do?
@duongtranai87944 жыл бұрын
Hybrid centralized and peer-to-peer chat using MPI : How to do? Can u suggestions? thanks!
@XiamJoy4 жыл бұрын
So we have to download that javax json file in order to code?
@willday13502 жыл бұрын
it's good with clients from differents networks?
@PrototypePrjs2 жыл бұрын
ça doit marcher w/ clients on same network :)
@michelecicconi10773 жыл бұрын
Good video and the code works perfectly, but I don't understand why you used Json and the ServerThreadThread class, can you explain it to me please?
@PrototypePrjs3 жыл бұрын
ServerThreadThread is a Thread spawned by ServerThread (which is also a Thread)
@michelecicconi10773 жыл бұрын
@@PrototypePrjs Oh yeah i know but why do you need to use it for this program and why do you use Json?
@PrototypePrjs3 жыл бұрын
it is a solution that combines several ideas: -Peer has to act as both client and server -Peer has to send messages to other peers that are listening to it -Peer has to receive messages from other peers it is listening to -solution (Peer) has to combine the 'server' and the 'client' in a java client server socket solution ==> it spawns 1 ServerThread and PeerThreads to handle requirements from above ... -JSON is a standarized + light-weight solution for sending and receiving data. no point in reinventing the wheel :)
@michelecicconi10773 жыл бұрын
@@PrototypePrjs ok know it's clear, thanks very much
@thongnguyen28525 жыл бұрын
At least you should explain what they mean to each other, what serverThread is for, and what PeerThread is.
@PrototypePrjs5 жыл бұрын
target audience
@sergioalexanderleonsalaman58383 жыл бұрын
hola me puede ayudar adquiri e código pero no me reconoce los puertos
@PrototypePrjs3 жыл бұрын
could be those ports are used by something else on your machine try different port #s maybe with 5 digits e.g. 44444 55555 66666 ...
@mehulthakor6824 жыл бұрын
Is it useful for web application?
@mehulthakor6824 жыл бұрын
Because we can't use socket in web based java as in jsp and servlet
@divakardubey52724 жыл бұрын
Hi, Can we implement blockchain in this peer to peer chat? If yes then can you please recommend me the way so that I can implement blockchain for security.
@peterheijstek52884 жыл бұрын
If you need it for security I suggest using existing technologies
@divakardubey52724 жыл бұрын
@@peterheijstek5288 Thanks Peter for your reply. Actually I am implementing a chat application in which I have to implement Blockchain for security. Blockchain is new things for me that's why have lot of question regarding this. If you have any idea regarding my previous comment please share. Thanks
@peterheijstek52884 жыл бұрын
@@divakardubey5272 to be honest I have 0 experience with blockchains myself so I cant help you out :/
@divakardubey52724 жыл бұрын
@@peterheijstek5288 No Problem Peter Thanks 👍
@bubboydarker90304 жыл бұрын
same. i am looking for a peer to peer TCP network for my blockchain but i cant find any tutorials or code specifically for blockchain.