Changeset fab2746 in mainline for uspace/lib/http/src/request.c


Ignore:
Timestamp:
2015-04-08T21:25:30Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99ea91b2
Parents:
ba0eac5
Message:

New transport layer API. Only UDP implemented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/http/src/request.c

    rba0eac5 rfab2746  
    3434 */
    3535
     36#include <errno.h>
    3637#include <stdio.h>
    3738#include <stdlib.h>
     
    3940#include <macros.h>
    4041
    41 #include <net/socket.h>
     42#include <inet/tcp.h>
    4243
    4344#include <http/http.h>
     
    149150                return rc;
    150151       
    151         rc = send(http->conn_sd, buf, buf_size, 0);
     152        rc = tcp_conn_send(http->conn, buf, buf_size);
    152153        free(buf);
    153154       
Note: See TracChangeset for help on using the changeset viewer.