4 More Discussions You Might Find Interesting
1. Linux
I was wondering if it is possible to setup SFTP to go through the internet proxy while connecting to an internet location.
Problem: Client system is behind internet proxy. SFTP to any internet location fails as there is no documented way to configure SFTP to connect to internet locations through... (4 Replies)
Discussion started by: toobrown1
4 Replies
2. Shell Programming and Scripting
/***************************************************************************
* secho.c Copyright (C) 2009 by hashi NOVELTY WARE *
* unix shell tool substitute for echo "sexy echo" *
... (1 Reply)
Discussion started by: hashi
1 Replies
3. UNIX for Dummies Questions & Answers
hello i am a new user of suse linux...can anyone please tell me how i can get internet running on my suse?...pls tel me the complete procedure... (0 Replies)
Discussion started by: varsha.shastri
0 Replies
4. UNIX for Dummies Questions & Answers
hello, just installed suzi 10.1, connect directly to broadband, set as auto-detect proxy, all ok. put machine through router - winxp ok with this - cannot connect to internet , any ideas please
don (2 Replies)
Discussion started by: dondecap
2 Replies
inet(4f) inet(4f)
Name
inet - Internet protocol family
Syntax
#include <sys/types.h>
#include <netinet/in.h>
Description
The Internet protocol family is a collection of protocols that is layered on the Internet Protocol (IP) transport layer and that uses the
Internet address format. The Internet family provides protocol support for the SOCK_STREAM, SOCK_DGRAM, and SOCK_RAW socket types. The
SOCK_RAW interface provides access to the IP protocol.
Addressing
Internet addresses are 4-byte quantities, stored in network standard format. The include file defines this address as a discriminated
union.
Sockets bound to the Internet protocol family use the following addressing structure:
struct sockaddr_in {
short sin_family;
u_short sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
Sockets may be created with the address INADDR_ANY to effect ``wildcard'' matching on incoming messages.
Protocols
The Internet protocol family comprises the IP transport protocol, Internet Control Message Protocol (ICMP), Transmission Control Protocol
(TCP), and User Datagram Protocol (UDP). TCP is used to support the SOCK_STREAM abstraction, while UDP is used to support the SOCK_DGRAM
abstraction. A raw interface to IP and ICMP is available by creating an Internet socket of type SOCK_RAW.
See Also
tcp(4p), udp(4p), ip(4p)
inet(4f)