Peer to Peer (P2P) Chat w/ JAVA (prototype project 01)

  Рет қаралды 51,589

Prototype Project

Prototype Project

Күн бұрын

Пікірлер: 38
@PrototypePrjs
@PrototypePrjs Жыл бұрын
Members-Only contents @ prototypeproject.substack.com/p/members-only-prototype-projects Peer to Peer + JAVA @ prototypeproject.substack.com/p/peer-to-peer-java Networking + Python @ prototypeproject.substack.com/p/networking-python
@PrototypePrjs
@PrototypePrjs 5 жыл бұрын
Secure Sockets - Java Sockets 06 @ kzbin.info/www/bejne/omXCe3x_p7Kbf7M Sockets w/ Object Serialization and Threads 05 @ kzbin.info/www/bejne/pXXZhHual8mhn8k JAVA Sockets w/ Serializable objects 04 @ kzbin.info/www/bejne/Z6bTXqJ-n6iWn9U JAVA Sockets 03 - w/ Threads and server reply @ kzbin.info/www/bejne/sJurlYCVds6Fl80 JAVA Sockets 02 - w/ Threading @ kzbin.info/www/bejne/kJ6Yl36KpdSphZI JAVA Introduction to Sockets 01 @ kzbin.info/www/bejne/lWjFdGSeZ8x6o6M
@hieuha6245
@hieuha6245 5 жыл бұрын
How can i get PORT and IP of the application from other network? this is just localhost
@igormarcos687
@igormarcos687 6 жыл бұрын
Thank you for the class
@raularamburo6988
@raularamburo6988 2 жыл бұрын
Why does not appear me the localhost:4442 localhost:4443 localhost:4444 in the console like in the minute 15:20?
@lorenzobentivoglio
@lorenzobentivoglio 8 ай бұрын
awesome thank you
@lironglickman9611
@lironglickman9611 5 жыл бұрын
hi man tnx for this video, this is only good for local host, do uoy know how to make this work on 2 different networks?
@oussamaboumhaout3619
@oussamaboumhaout3619 5 жыл бұрын
up
@vigneshwaran9209
@vigneshwaran9209 4 жыл бұрын
port forward the ports you are using for communications, so that they can communicate when outside networks.
@tsadikbekeleBali
@tsadikbekeleBali 3 ай бұрын
hi awesome thanks !! were site in written this code ?
@PrototypePrjs
@PrototypePrjs 3 ай бұрын
sites.fastspring.com/prototypeprj/instant/crypto sites.fastspring.com/prototypeprj/instant/ai
@devDive615
@devDive615 2 жыл бұрын
In the ServerThreadThread class why did u use the docket input stream to read data ?
@PrototypePrjs
@PrototypePrjs 2 жыл бұрын
watching P2P chat w/ JAVA - prototype project 02 (short & members-only versions) might help in better understanding the logic here
@abdulrahmanafifi891
@abdulrahmanafifi891 4 жыл бұрын
How to implement this chat in multi-ad-hoc networks?
@cfrojas
@cfrojas 3 жыл бұрын
Hi! we would like to contact you for a project in Latin America. where can we contact you?
@PrototypePrjs
@PrototypePrjs 3 жыл бұрын
adam@prototypeprj.com send short project description + time span + budget + quick summary about your professional background
@smooth8991
@smooth8991 4 жыл бұрын
jsonObject from line 20 in PeerThread is blocked. what can i do?
@duongtranai8794
@duongtranai8794 4 жыл бұрын
Hybrid centralized and peer-to-peer chat using MPI : How to do? Can u suggestions? thanks!
@XiamJoy
@XiamJoy 4 жыл бұрын
So we have to download that javax json file in order to code?
@willday1350
@willday1350 2 жыл бұрын
it's good with clients from differents networks?
@PrototypePrjs
@PrototypePrjs 2 жыл бұрын
ça doit marcher w/ clients on same network :)
@michelecicconi1077
@michelecicconi1077 3 жыл бұрын
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?
@PrototypePrjs
@PrototypePrjs 3 жыл бұрын
ServerThreadThread is a Thread spawned by ServerThread (which is also a Thread)
@michelecicconi1077
@michelecicconi1077 3 жыл бұрын
@@PrototypePrjs Oh yeah i know but why do you need to use it for this program and why do you use Json?
@PrototypePrjs
@PrototypePrjs 3 жыл бұрын
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 :)
@michelecicconi1077
@michelecicconi1077 3 жыл бұрын
@@PrototypePrjs ok know it's clear, thanks very much
@thongnguyen2852
@thongnguyen2852 5 жыл бұрын
At least you should explain what they mean to each other, what serverThread is for, and what PeerThread is.
@PrototypePrjs
@PrototypePrjs 5 жыл бұрын
target audience
@sergioalexanderleonsalaman5838
@sergioalexanderleonsalaman5838 3 жыл бұрын
hola me puede ayudar adquiri e código pero no me reconoce los puertos
@PrototypePrjs
@PrototypePrjs 3 жыл бұрын
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 ...
@mehulthakor682
@mehulthakor682 4 жыл бұрын
Is it useful for web application?
@mehulthakor682
@mehulthakor682 4 жыл бұрын
Because we can't use socket in web based java as in jsp and servlet
@divakardubey5272
@divakardubey5272 4 жыл бұрын
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.
@peterheijstek5288
@peterheijstek5288 4 жыл бұрын
If you need it for security I suggest using existing technologies
@divakardubey5272
@divakardubey5272 4 жыл бұрын
@@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
@peterheijstek5288
@peterheijstek5288 4 жыл бұрын
@@divakardubey5272 to be honest I have 0 experience with blockchains myself so I cant help you out :/
@divakardubey5272
@divakardubey5272 4 жыл бұрын
@@peterheijstek5288 No Problem Peter Thanks 👍
@bubboydarker9030
@bubboydarker9030 4 жыл бұрын
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.
Peer-to-peer (P2P) chat w/ JAVA - prototype project 02 (public version)
13:56
Java Socket Programming Client Server Messenger
16:28
WittCode
Рет қаралды 112 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Java Socket Programming - Multiple Clients Chat
40:18
WittCode
Рет қаралды 191 М.
P2P Video Chat with JavaScript / WebRTC
13:58
Kyle Robinson Young
Рет қаралды 221 М.
Java Socket Programming Part 1
14:46
David Dobervich
Рет қаралды 45 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,7 МЛН
Socket Programming in Java Two Way
4:59
Telusko
Рет қаралды 78 М.
Trump made a decision / North Korea withdraws troops
13:03
NEXTA Live
Рет қаралды 918 М.
P2P
26:45
Ayman Bahaa-Eldin
Рет қаралды 28 М.
NVIDIA CEO Jensen Huang's Vision for Your Future
1:03:03
Cleo Abram
Рет қаралды 263 М.