diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2016-07-09 08:20:11 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2016-07-09 08:20:11 -0400 |
commit | 3d7bf5253af49db6436261fadaea7b5fc85be03a (patch) | |
tree | a5df776803a7354bc08c6ed4efcc99ab1c0102f3 | |
parent | f528b66a0ea74b306bed22d243495458c8cf2383 (diff) | |
download | udpastcp-3d7bf5253af49db6436261fadaea7b5fc85be03a.tar.xz udpastcp-3d7bf5253af49db6436261fadaea7b5fc85be03a.zip |
Remove old debugging message, adjust TODO.
-rw-r--r-- | doc/PORTABILITY | 5 | ||||
-rw-r--r-- | doc/TODO | 4 | ||||
-rw-r--r-- | src/client.c | 1 |
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/PORTABILITY b/doc/PORTABILITY index fec5deb..630671b 100644 --- a/doc/PORTABILITY +++ b/doc/PORTABILITY @@ -1,6 +1,5 @@ -Most C99 + POSIX systems should be supported. Windows is not, since it does not -support Unix-style events, and (although this is a minor concern) it does not -support sendmsg and recvmsg. +Most C99 + POSIX systems should be supported. Windows is not supported yet +because Microsoft has blocked sending TCP through raw sockets. In addition, since this program depends on libev, the portability requirements of libev must be satisfied: @@ -1,3 +1,5 @@ +- add pcap receiving support + - verify checksums - add LD_PRELOAD support @@ -8,7 +10,7 @@ - change some of the tiny hash tables to linked lists -- add pcap support +- add pcap sending support - add fake TCP options diff --git a/src/client.c b/src/client.c index 447bd0b..94c6e5d 100644 --- a/src/client.c +++ b/src/client.c @@ -230,7 +230,6 @@ static void cc_cb(struct ev_loop *loop, ev_io *w, int revents __attribute__((unu while ((rsz = recvfrom(w->fd, rbuf, sizeof(rbuf), 0, (struct sockaddr *)&rsock->c_data->pkt_addr, &pkt_addrlen)) != -1) { DBG("received %zd raw bytes on client", rsz); - DBG("%u %zu", pkt_addrlen, sizeof(struct sockaddr_in6)); if (pkt_addrlen > sizeof(struct sockaddr_in6)) abort(); |