Re: Best approach?
- From: "Daniel" <DanielV@xxxxxxxxxxxxxxxx>
- Date: Fri, 20 Jan 2006 00:57:05 -0000
So i should send the variables that i need when i need them and load them
into objects at the other side rather than the whole object via
serialisation?
So best practice is lots of small packets rather than less packets but
larger sizes? is that right
"Dan" <dvazanias@xxxxxxx> wrote in message
news:ukyEYKRHGHA.240@xxxxxxxxxxxxxxxxxxxxxxx
>I presume that to send anything i have to convert it into bytes, send it
>then extract it at the other end.
>
> Is it possible to say have a class myClass and send it as an object
>
> so in pseudo code
>
> SendData (myClass);
>
> then at the other end
>
> myClass _obj = new myClass();
> _obj = ReceiveData(myClass);
>
>
> Is that possible? or do i have to send each part of it separately,
> variable per variable etc and then rebuild it at the other end? Could
> someone provid sample code if possible, c# .
>
> --
> Dan
>
.
- Follow-Ups:
- Re: Best approach?
- From: Arkady Frenkel
- Re: Best approach?
- From: Eugene Gershnik
- Re: Best approach?
- References:
- Best approach?
- From: Dan
- Best approach?
- Prev by Date: Re: UDP related question
- Next by Date: Re: Detecting Internet activity
- Previous by thread: Re: Best approach?
- Next by thread: Re: Best approach?
- Index(es):
Relevant Pages
|