Learn Java Programming - SocketServer and Socket Class Introduction

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Keep up the great vids! You do a great job explaining concepts.

mrm
Автор

hey sir...i was really amazed after viewing this tuts...and i learned a lot...thank you... i just have some more question, i tried the codes and i was hoping that it could be access from the other pc or other devices through internet.. you have shown it from your tuts but i couldn't do it...why?i mead it didn't work in my pc...

kyungrabang
Автор

Small issue, but I cannot seem to figure it out. I created a socket server using BufferedReader for input stream and PrintWriter for output stream.

How do I provide a prompt to the client.

1. Start server socket program
2. From windows terminal, telnet <IP Address Port Socket server>
3. On the client terminal, I want to have the cursor land on a "server>" prompt.

The issue I am having is the server can send
--server>
--(cursor lands here)
but the cursor land after a /r/n.

sqazombie