Changeset 32105348 in mainline for uspace/srv/net/tl/tcp/test.c
- Timestamp:
- 2011-10-04T18:12:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d9ce049
- Parents:
- 032bbe7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/test.c
r032bbe7 r32105348 39 39 #include <stdio.h> 40 40 #include <thread.h> 41 #include <str.h> 41 42 #include "state.h" 42 43 #include "tcp_type.h" … … 59 60 tcp_conn_t *conn; 60 61 tcp_sock_t sock; 62 const char *msg = "Hello World!"; 61 63 62 64 printf("test_cli()\n"); … … 67 69 async_usleep(1000*1000*3); 68 70 tcp_uc_open(1024, &sock, ap_active, &conn); 71 72 async_usleep(1000*1000*10); 73 tcp_uc_send(conn, (void *)msg, str_size(msg), 0); 69 74 } 70 75
Note:
See TracChangeset
for help on using the changeset viewer.