version 1.177, 2001/10/08 18:22:29
|
version 1.178, 2001/10/13 19:50:20
|
Line 213 int main(int argc,char *argv[]) {
|
Line 213 int main(int argc,char *argv[]) {
|
snprintf( strport, sizeof(strport), "%d", 80 ); |
snprintf( strport, sizeof(strport), "%d", 80 ); |
puts(strport); |
puts(strport); |
#endif |
#endif |
#if 0 |
#if 1 |
struct addrinfo *ai; |
struct addrinfo *ai; |
struct addrinfo hints; |
struct addrinfo hints; |
char buf[16]; |
char buf[16]; |
Line 328 int main(int argc,char *argv[]) {
|
Line 328 int main(int argc,char *argv[]) {
|
#if 0 |
#if 0 |
puts(ttyname(0)); |
puts(ttyname(0)); |
#endif |
#endif |
#if 1 |
#if 0 |
char buf[1024]; |
char buf[1024]; |
struct hostent* r; |
struct hostent* r; |
r=gethostbyname("line.org"); |
r=gethostbyname("line.org"); |