Rev 3912 | Rev 4197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3912 | Rev 3914 | ||
|---|---|---|---|
| Line 67... | Line 67... | ||
| 67 | 67 | ||
| 68 | async_set_client_connection( client_connection ); |
68 | async_set_client_connection( client_connection ); |
| 69 | tcp_globals.networking_phone = connect_to_service( SERVICE_NETWORKING ); |
69 | tcp_globals.networking_phone = connect_to_service( SERVICE_NETWORKING ); |
| 70 | tcp_globals.ip_phone = bind_service( SERVICE_IP, IPPROTO_TCP, 0, 0, client_connection ); |
70 | tcp_globals.ip_phone = bind_service( SERVICE_IP, IPPROTO_TCP, 0, 0, client_connection ); |
| 71 | ERROR_PROPAGATE( pm_init()); |
71 | ERROR_PROPAGATE( pm_init()); |
| 72 | ERROR_PROPAGATE( tcp_initialize()); |
72 | if( ERROR_OCCURRED( tcp_initialize()) |
| 73 | ERROR_PROPAGATE( REGISTER_ME( SERVICE_TCP, & phonehash )); |
73 | || ERROR_OCCURRED( REGISTER_ME( SERVICE_TCP, & phonehash ))){ |
| - | 74 | pm_destroy(); |
|
| - | 75 | return ERROR_CODE; |
|
| - | 76 | } |
|
| 74 | 77 | ||
| 75 | async_manager(); |
78 | async_manager(); |
| 76 | 79 | ||
| 77 | pm_destroy(); |
80 | pm_destroy(); |
| 78 | return EOK; |
81 | return EOK; |