mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Most cosmetic changes to apps/examples/netloop
This commit is contained in:
parent
9191e22624
commit
84dbf4ee7c
3 changed files with 10 additions and 7 deletions
|
|
@ -149,7 +149,7 @@ static inline bool net_incomingdata(struct net_listener_s *nls, int sd)
|
|||
else
|
||||
{
|
||||
nls->buffer[ret]='\0';
|
||||
printf("poll_listener: Read '%s' (%d bytes)\n", nls->buffer, ret);
|
||||
printf("lo_listener: Read '%s' (%d bytes)\n", nls->buffer, ret);
|
||||
|
||||
/* Echo the data back to the client */
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ static int lo_client(void)
|
|||
|
||||
for (i = 0; ; i++)
|
||||
{
|
||||
sprintf(outbuf, "Remote message %d", i);
|
||||
sprintf(outbuf, "Loopback message %d", i);
|
||||
len = strlen(outbuf);
|
||||
|
||||
printf("lo_client: Sending '%s' (%d bytes)\n", outbuf, len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue