Changeset 779541b in mainline for uspace/srv/net/tcp/tcp.c


Ignore:
Timestamp:
2015-05-09T13:43:50Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1d4b815
Parents:
99ea91b2
Message:

TCP transport layer API - somewhat working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/tcp.c

    r99ea91b2 r779541b  
    4848#include "pdu.h"
    4949#include "rqueue.h"
     50#include "service.h"
    5051#include "std.h"
    5152#include "tcp.h"
     
    192193        }
    193194
    194 //      rc = tcp_sock_init();
    195 //      if (rc != EOK) {
    196 //              log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing socket service.");
    197 //              return ENOENT;
    198 //      }
     195        rc = tcp_service_init();
     196        if (rc != EOK) {
     197                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing service.");
     198                return ENOENT;
     199        }
    199200
    200201        return EOK;
Note: See TracChangeset for help on using the changeset viewer.