diff options
author | Christian Pointner <equinox@anytun.org> | 2008-12-28 03:01:38 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-12-28 03:01:38 +0000 |
commit | 699f04dc754ef3545ae217ab1879731f2595ae0d (patch) | |
tree | f80e29d197eedc2a1569a9ff35b43e47000e32ef /src/udp.h | |
parent | added enpoint to string functions (diff) |
some memory erros fixed
added udp_read and udp_write
Diffstat (limited to 'src/udp.h')
-rw-r--r-- | src/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ char* udp_endpoint_to_string(struct sockaddr_storage ss); char* udp_get_local_end_string(udp_socket_t* sock); char* udp_get_remote_end_string(udp_socket_t* sock); -int udp_read(udp_socket_t* sock, u_int8_t* buf, u_int32_t len, struct sockaddr_storage* remote_end_); +int udp_read(udp_socket_t* sock, u_int8_t* buf, u_int32_t len, struct sockaddr_storage* remote_end); int udp_write(udp_socket_t* sock, u_int8_t* buf, u_int32_t len); |