I have a client server programm where each client can send a message to the others the problem in passing an object class through socket ,it goes well with the theory but when the server recieves the message there is an exception:
line 186:
[B]server: Data received in unknown format[/B ]
catch(ClassNotFoundException classnot)
{
System.err.println("server: Data received in unknown format");
}
to run the program first you have to run the MultiChatServerObj with no pramaters and the the MultiChatObj at the following way:
MultiChatObj name localhost
like MultiChatObj james localhost
I will be most thankfull if you find the error ,reading material on the subject doesn't help tried to put the class in a Vector and transmitt the Vevtor instead but it didn't help
bye