1832554 Members
5717 Online
110043 Solutions
New Discussion

packet transfer

 
Shivakumar_3
Advisor

packet transfer

Hello everybody,
I am transferring a packet(type short of size 512 bytes)from client to HP-UX server.When i receive the packet in hp-ux server whatever the contents is there in first 256 bytes it is getting but rest 256 bytes is showing only 0 values.I am receiving the packet in a buffer of type unsigned short.What is the problem? and another doubt how to use XDR variables in program.If we use that do we have to write any function for that.Is there any document on xdr other than man xdr.Thanks in advance.