This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sending intel bin file using socket programming c#

I am having intel hex file which I converted to bin file using hex2bin. Now I want to send this bin file through gprs using socket progrraming.Below is actual requirements...

1. I am having 6kb of BIN file and I want to send data by splitting
Whole file in 1kb size(i.e Send 6 packets of 1KB), also while sending 1kb of Packet data I want to send packet header.
2. I am having IP address and port no, using this I want send data using Socket Programing in C#.

Can u please post some examples .

  • C# is a Microsoft Language - it has nothing to do with Keil.

    As far as C# is concerned, the content of the file is irrelevant; it's just a bundle of arbitrary binary data.
    Therefore you just need to constult the standard Micrsoft documentation regarding handling sockets & binary files...