/*----------------------------------------------------------------------------- / fill in tcp data at position pos. pos=0 means start of / tcp data. Returns the position at which the string after / this string could be filled. / taken from tuxgraphics ip stack /----------------------------------------------------------------------------*/ uint16_t fill_tcp_data(uint8_t *buf,uint16_t pos, const char *s) { return(fill_tcp_data_len(buf,pos,(uint8_t*)s,strlen(s))); }
uint16_t EtherShield::ES_fill_tcp_data_len(uint8_t *buf,uint16_t pos, const char *s, uint16_t len ){ return fill_tcp_data_len(buf,pos, s, len); }