Changes in uspace/app/nettest3/nettest3.c [af076b4:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest3/nettest3.c
raf076b4 r9d58539 63 63 port = 7; 64 64 65 data = (char *) 65 data = (char *)"Hello World!"; 66 66 size = str_size(data); 67 67 … … 98 98 99 99 printf("connect()\n"); 100 rc = connect(fd, (struct sockaddr *) 100 rc = connect(fd, (struct sockaddr *)&addr, sizeof(addr)); 101 101 printf(" -> %d\n", rc); 102 102 if (rc != 0) … … 115 115 } while (rc > 0); 116 116 117 async_usleep(1000 *1000);117 async_usleep(1000*1000); 118 118 119 119 printf("closesocket()\n"); … … 124 124 } 125 125 126 126 127 /** @} 127 128 */
Note:
See TracChangeset
for help on using the changeset viewer.