05-09-2008
Internet
Internet is designed using UNIX
4 More Discussions You Might Find Interesting
1. SuSE
I have set up my hostname in dhcp and my dns server, but I cannot get the client to pick up the hostname that is listed for the ip.
IE. 10.32.23.4 hostname should be client4
Anyone know why?
It was working before and just stopped working (1 Reply)
Discussion started by: 3junior
1 Replies
2. Shell Programming and Scripting
hi all,
i need to check the latest patch applied on my unix server. here is the server info:
bash-3.2$ uname -a
SunOS usa0300uz1226 5.10 Generic_148888-01 sun4u sparc SUNW,SPARC-Enterprise
please tell which is the command for checking patch? (1 Reply)
Discussion started by: lovelysethii
1 Replies
3. Linux
Heyas
-Just- installed Arch, and having difficulties to understand why my keyboard layout still is en_US, eventhough i had set it to be de_CH. *UTF-8 obviously*
This applies to console AND X.
* https://wiki.archlinux.org/index.php/Beginners%27_guide#Console_font_and_keymap
*... (0 Replies)
Discussion started by: sea
0 Replies
4. UNIX for Advanced & Expert Users
Heyas
For my project TUI i had prepared bash completion.
Bash-completion works, at least if i source that file manualy.
However, when i'm installing it, it wont apply, not even for new opened terminals.
Allthough i had it working once, i dont get why it doesnt work now.
<...>
+ ''
+... (0 Replies)
Discussion started by: sea
0 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)