Added tcp_buffer, to give applications a zero-cost place to build data to

be transmitted.
This commit is contained in:
Michael Brown
2006-04-05 11:43:01 +00:00
parent 988bb50979
commit c8a7133e9f
2 changed files with 40 additions and 2 deletions

View File

@@ -92,6 +92,8 @@ struct tcp_connection {
struct tcp_operations *tcp_op;
};
extern void *tcp_buffer;
extern size_t tcp_buflen;
extern int tcp_connect ( struct tcp_connection *conn );
extern void tcp_send ( struct tcp_connection *conn, const void *data,
size_t len );