Hello I am Developing an API in C#
which requires me to connect to a server and send and recieve data
i am able to create a socket
i need to send a data in the following Format (Protocol Frame)
<0x03><0x20><LL LL>Data........ ............<0x 04>
i am able to do everything except the Lenght (LLLL) field which need to be 4 Bytes and should be in Big Endian Format
i tried doing everything but cudnt do it
i used host to network order method but didnt knew how to append it to the message i am supposed to send.
I'll appreciate any help on this issue
Thanks,
Lisa
which requires me to connect to a server and send and recieve data
i am able to create a socket
i need to send a data in the following Format (Protocol Frame)
<0x03><0x20><LL LL>Data........ ............<0x 04>
i am able to do everything except the Lenght (LLLL) field which need to be 4 Bytes and should be in Big Endian Format
i tried doing everything but cudnt do it
i used host to network order method but didnt knew how to append it to the message i am supposed to send.
I'll appreciate any help on this issue
Thanks,
Lisa
Comment