Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I had an Intel hex file which I converted to a bin file using hex2bin.

Now I want to send this bin file through gprs using socket programing. The actual requirements are below.

1. I have 6kb of BIN file and I want to send data by splitting whole file in 1kb size (ie send 6 packets of 1KB), also while sending 1kb of packet data I want to send packet header.

2. I have IP address and port no, using this I want to send data using Socket Programing in C#.

Can you please post some examples.
[email address removed]
Posted
Updated 10-Jun-10 5:07am
v2

1 solution

Using google ("c# send binary file with sockets"), I found this:

http://socketprogramming.blogspot.com/2008/11/split-and-assemble-large-file-around.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900