Changeset 274
- Timestamp:
- 10/04/2007 12:35:21 PM (4 years ago)
- Location:
- nano-RK/tools/SLIPstream/SLIPstream-client
- Files:
-
- 2 edited
-
main.c (modified) (2 diffs)
-
slipstream.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
nano-RK/tools/SLIPstream/SLIPstream-client/main.c
r122 r274 4 4 #include <slipstream.h> 5 5 6 #define NONBLOCKING 0 7 #define BLOCKING 1 6 8 7 9 … … 16 18 } 17 19 18 v=slipstream_open(argv[1],atoi(argv[2]), 1);20 v=slipstream_open(argv[1],atoi(argv[2]),NONBLOCKING); 19 21 20 22 cnt = 0; -
nano-RK/tools/SLIPstream/SLIPstream-client/slipstream.c
r248 r274 24 24 } 25 25 26 // make socket non-blocking... 27 fcntl (sock, F_SETFL, O_NONBLOCK); 26 if(blocking_read==0) 27 { 28 // make socket non-blocking... 29 fcntl (sock, F_SETFL, O_NONBLOCK); 30 } 28 31 29 32 server.sin_family = AF_INET;
Note: See TracChangeset
for help on using the changeset viewer.
