dear friends,
i am facing a problem in sending a nested
structure over the network using a socket. I have sent
a data buffer on the same socket and it is working
fine.
But if i try to send the following structure i am
facing prolems
struct IP
{
field 1;
field 2;
field 3;
struct UDP
{
field 3;
field 4;
struct RTP
{
field 5;
field 6;
}rtp;
}udp;
}*ipsend,*iprecv;
For this structure if i am using following command
sendto(socket_id, ipsend, sizeof(ipsend), 0,(struct
sockaddr *)&recv_addr, sizeof(sockaddr));
& similarly i have done recvfrom using iprecv object
the program is sending only the fields 1,2,3 of the IP
structure the fields of UDP & RTP stucture are not
getting
transfered.
Any help in this regard will b greatly appreciated.
regards
rahul
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and
more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/