write before read with Arduino Ethernet library -


a tcp server implemented on arduino using ethernetserver(port), connection accepted using

client = server.available(); if (client) {   ... } 

however, far understand source of available correctly, returns valid client when there read client object.

but want send kind of greeting , prompt connection established, so, before has been sent connection remote side.

who can achieve that?


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -