lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [lwip-users] howto put tcp packet together


From: Frédéric BERNON
Subject: RE : [lwip-users] howto put tcp packet together
Date: Wed, 29 Apr 2009 15:51:02 +0200

/**
 * Copy (part of) the contents of a packet buffer
 * to an application supplied buffer.
 *
 * @param buf the pbuf from which to copy data
 * @param dataptr the application supplied buffer
 * @param len length of data to copy (dataptr must be big enough). No more 
 * than buf->tot_len will be copied, irrespective of len
 * @param offset offset into the packet buffer from where to begin copying len 
bytes
 * @return the number of bytes copied, or 0 on failure
 */
u16_t
pbuf_copy_partial(struct pbuf *buf, void *dataptr, u16_t len, u16_t offset)

 
  
====================================
Frédéric BERNON 
HYMATOM SA 
Chef de projet informatique 
Microsoft Certified Professional 
Tél. : +33 (0)4-67-87-61-10 
Fax. : +33 (0)4-67-70-85-44 
Email : address@hidden 
Web Site : http://www.hymatom.fr 

Plan d'accès au siège social 

====================================
P Avant d'imprimer, penser à l'environnement


-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de Bernhard 'Gustl' Bauer
Envoyé : mercredi 29 avril 2009 15:36
À : Mailing list for lwIP users
Objet : [lwip-users] howto put tcp packet together


Hi,

I'm using HTTP server in contrib. Unfortunately it assume  all data is 
in one packet. In my situation data is spread over several packets. I 
need to fit them together in the right order before processing. Any 
pointers how to do this would be great. What I'm especially looking for 
is the number of packets and a counter that specifies the order.

TIA

Gustl


_______________________________________________
lwip-users mailing list
address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]