Re: UDP protocol & Object
From: Jared Dykstra (dyksjare_at_hotmail.com)
Date: 12/30/03
- Previous message: Jared Dykstra: "Re: DBCP Configuration with Tomcat 4.1.27 and mySQL"
- In reply to: SpitFire: "UDP protocol & Object"
- Next in thread: SpitFire: "Re: UDP protocol & Object"
- Reply: SpitFire: "Re: UDP protocol & Object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Dec 2003 21:34:05 -0800
"SpitFire" <max00@net.hrREMOVENOSPAM> wrote in message news:<bsni83$jc4$1@bagan.srce.hr>...
> I need little help with Java and UDP protocol.
>
> Can someone give me an example of how can I send a object by UDP protocol.
> Only usefull method is
>
> DatagramPacket(byte[] buf, int length, InetAddress address, int port)
>
> but how to send object ( Data ) through UDP.
>
>
> Thanks.
Serialize the object. That's what object serialization was designed for.
http://www.acm.org/crossroads/xrds4-2/serial.html
--- Jared Dykstra http://www.bork.org/~jared
- Previous message: Jared Dykstra: "Re: DBCP Configuration with Tomcat 4.1.27 and mySQL"
- In reply to: SpitFire: "UDP protocol & Object"
- Next in thread: SpitFire: "Re: UDP protocol & Object"
- Reply: SpitFire: "Re: UDP protocol & Object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|