Sending Object over socket
It is possible to send an object over socket?
i've tryed with ObjectOutputStrem and ObjectInputStream but when i try to send an object
Object p=New Protocol("bla")
it fails.
It is possible to send an object over socket?
i've tryed with ObjectOutputStrem and ObjectInputStream but when i try to send an object
Object p=New Protocol("bla")
it fails.
> It is possible to send an object over socket?
>
> i've tryed with ObjectOutputStrem and
> ObjectInputStream but when i try to send an object
>
> Object p=New Protocol("bla")
>
And how does that irrelevent snippet of code tell us anything at all.
Try posting you relevent code (USE THE CODE TAGS PLEASE) and the error message you got.
Give the stacktrace of your program. You can send objects using sockets as long as your object's class implements serializable and the non serializable stuff as transient.