Java Sockets Tutorial
Uploader Comments (batwingd)
Top Comments
-
Thanks alot for the tutorial =)
The volume was quite low tho, was a little hard to hear you.
All Comments (25)
-
great tutorial, thanks
-
1:06 OW
-
Very good tutorial. Thanks!
-
I m not able to clearly hear u ----->>low volme
-
Nice "Simple". i was having a hard time configuring the sockets correctly and had a a little of a hard time understand how Java Sockets are programmed. I know how to set up a Perl Socket but now i Know how to do BOTH(Java & Perl). I just needed a Oral presentation on how to do it. Thinks but i agree the Sound is a bit low. I wore headphone and held them to my ears for so i can hear!!
-
Assuming your server program can handle multiple clients, what is the maximum number of clients the server can handle?
Also, can the server use single port (9999) for all the client connections? Doesn't it have to assign new port for each new connection?
thanks.
-
thats great very informative . thnx! but lets say, taht the client wants to parse a variable , then the server would want to do some operations with that varable and return soem results. how can i transfer a parameter or varieable . , thnx in advance ! :P keep up the good work
-
If I send someone the client half and they run it with my IP address as the first argument and the port as the second, and I have the server part running on my computer should it work? It works fine when I run both the server and client on my PC but my friend said that cmd just closed.
-
If I send someone the client half and they run it with my IP address as the first argument and the port as the second, and I have the server part running on my computer should it work? It works fine when I run both the server and client on my PC but my friend said that cmd just closed.
-
This is amazing, thank you so much.
My volume is maxed and its hard to hear.... :(
Looks like a good tutorial...
RebelHQ 1 year ago 27
@RebelHQ Hmm, if you're on Windows maybe check your master volume setting? I can hear the audio fine.
batwingd 1 year ago
Hi, you set up the client program to have the same IP address as the server.
The problem is i dont know how to do that because I'm using Neatbeans 6.8.
Can you help me?? thanx^^
leehyuk57 1 year ago
@leehyuk57 Actually, the client program expects you to provide the server address as a command line parameter, and it defaults to "localhost" if you do not provide on. This is independent of which Java IDE you are using.
batwingd 1 year ago