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