Rev 9553 | Rev 9620 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9553 | Rev 9558 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include |
1 | #include |
2 | #include |
2 | #include |
3 | #include |
3 | #include |
4 | #include |
4 | #include |
Line -... | Line 5... | ||
- | 5 | ||
- | 6 | int errno; |
|
5 | 7 | ||
- | 8 | int main() { |
|
- | 9 | networklib_init(); |
|
6 | int main() { |
10 | |
7 | char *host = "kolibrios.org"; |
11 | char *host = "kolibrios.org"; |
8 | int port = 80; |
12 | int port = 80; |
9 | printf("Connecting to %s on port %d\n", host, port); |
13 | printf("Connecting to %s on port %d\n", host, port); |
10 | struct addrinfo *addr_info; |
14 | struct addrinfo *addr_info; |