Why serialized? What information do you want sent from one client to the other?want them to be serialized
Do you think sending a serialization of a class will be easier than sending a String?
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Why serialized? What information do you want sent from one client to the other?want them to be serialized
Do you think sending a serialization of a class will be easier than sending a String?
If you don't understand my answer, don't ignore it, ask a question.
i have uploaded a video of my program.....can u please take a look at it for me ? Need help adding client/server app thread and serializable - YouTube
Can you post any questions or comments about the problems you are having here?
If you don't understand my answer, don't ignore it, ask a question.
if u r not busy how about u do it for me please? i knw is something that u can do blind folded but is taking forever to do it.....cos i lack java knowledge..........i beg u dude
Before any code is written there needs to be a design. Some of the things to consider:
What messages are to be sent from one client to another?
What response, if any, should be made when a client receives a message?
Would the server get involved or would the server just forward what it received from one client to the other client?
What programs/PCs are involved: one server and two clients. Nothing else?
If you don't understand my answer, don't ignore it, ask a question.
i know what i want the program to do........one server two clients....the server does nothing but host the two clients receive their coordinates x and y, velocity and Timer then then broadcast to animate the two space ships .......
What about these two questions:
What messages are to be sent from one client to another?
What response, if any, should be made when a client receives a message?
If you don't understand my answer, don't ignore it, ask a question.
that's what i don't knw brother......what kind of message to be sent and what respond ? u can take a look at my Assignment question all these are there maybe u can understand better.......https://www.dropbox.com/s/4wfjijsiel..._1213_Sem2.doc
Maybe using the word message is confusing.
What does one client have to tell the other for them to play the game?
This topic has been continued at:
http://www.javaprogrammingforums.com...ream-help.html
If you don't understand my answer, don't ignore it, ask a question.