voila :) je recupere le packet entrant envoyer par Telnet sur le port 256.
if((csock = accept(sock, (SOCKADDR *)&csin, &sinsize)) != INVALID_SOCKET)
{
recv(csock, buffer,strlen(buffer),0);
if(strstr(buffer,"p"))
{
printf("%s",buffer);
}
system("pause");
}
voila donc quand je recoi un packet, je l'affiche et sa m'afiche :
packet========================================||