Rev 4307 | Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4307 | Rev 4499 | ||
|---|---|---|---|
| Line 68... | Line 68... | ||
| 68 | 68 | ||
| 69 | ipcarg_t phonehash; |
69 | ipcarg_t phonehash; |
| 70 | 70 | ||
| 71 | async_set_client_connection( client_connection ); |
71 | async_set_client_connection( client_connection ); |
| 72 | tcp_globals.net_phone = net_connect_module( SERVICE_NETWORKING ); |
72 | tcp_globals.net_phone = net_connect_module( SERVICE_NETWORKING ); |
| 73 | tcp_globals.ip_phone = ip_bind_service( SERVICE_IP, IPPROTO_TCP, client_connection ); |
- | |
| 74 | ERROR_PROPAGATE( pm_init()); |
73 | ERROR_PROPAGATE( pm_init()); |
| 75 | if( ERROR_OCCURRED( tcp_initialize()) |
74 | if( ERROR_OCCURRED( tcp_initialize( client_connection )) |
| 76 | || ERROR_OCCURRED( REGISTER_ME( SERVICE_TCP, & phonehash ))){ |
75 | || ERROR_OCCURRED( REGISTER_ME( SERVICE_TCP, & phonehash ))){ |
| 77 | pm_destroy(); |
76 | pm_destroy(); |
| 78 | return ERROR_CODE; |
77 | return ERROR_CODE; |
| 79 | } |
78 | } |
| 80 | 79 | ||