git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPStack - Firewall cleanups and speedups (now shoudl at least work)
[tpg/acess2.git]
/
Usermode
/
Applications
/
testclient_src
/
main.c
diff --git
a/Usermode/Applications/testclient_src/main.c
b/Usermode/Applications/testclient_src/main.c
index
5682a8d
..
3e049b0
100644
(file)
--- a/
Usermode/Applications/testclient_src/main.c
+++ b/
Usermode/Applications/testclient_src/main.c
@@
-14,7
+14,7
@@
int main(int argc, char *argv[])
int con = -1;
int len;
uint16_t port;
int con = -1;
int len;
uint16_t port;
- uint8_t buf[4] = {10,
0,2,1
};
+ uint8_t buf[4] = {10,
2,0,2
};
uint8_t data[4096]; // Packet Data
con = open("/Devices/ip/1/tcpc", OPENFLAG_READ|OPENFLAG_WRITE);
uint8_t data[4096]; // Packet Data
con = open("/Devices/ip/1/tcpc", OPENFLAG_READ|OPENFLAG_WRITE);
@@
-28,7
+28,7
@@
int main(int argc, char *argv[])
ioctl(con, 7, NULL); // Connect
#define REQ_STR "GET / HTTP/1.1\r\n"\
ioctl(con, 7, NULL); // Connect
#define REQ_STR "GET / HTTP/1.1\r\n"\
- "Host:
prelude
\r\n"\
+ "Host:
sonata
\r\n"\
"User-Agent: Acess2 TCP Test Client\r\n"\
"\r\n"
"User-Agent: Acess2 TCP Test Client\r\n"\
"\r\n"
UCC
git Repository :: git.ucc.asn.au