Modification to work two socket servers at the same time
Fork of lwip by
Revision 13:8e34c2cbce5d, committed 2013-11-04
- Comitter:
- mbed_official
- Date:
- Mon Nov 04 09:00:09 2013 +0000
- Parent:
- 12:931deec14b08
- Child:
- 14:3d3ad63396b2
- Commit message:
- Synchronized with git revision 8e4057efabf71902a57a8e71ad47141e1e2f98c9
Changed in this revision
core/tcp_out.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/core/tcp_out.c Tue Sep 10 15:14:39 2013 +0300 +++ b/core/tcp_out.c Mon Nov 04 09:00:09 2013 +0000 @@ -646,6 +646,9 @@ last_unsent->len += concat_p->tot_len; #if TCP_CHECKSUM_ON_COPY if (concat_chksummed) { + if (concat_chksum_swapped) { + concat_chksum = SWAP_BYTES_IN_WORD(concat_chksum); + } tcp_seg_add_chksum(concat_chksum, concat_chksummed, &last_unsent->chksum, &last_unsent->chksum_swapped); last_unsent->flags |= TF_SEG_DATA_CHECKSUMMED;