![]() |
|
|
|
|
|||||||
| IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to under stand the C code | brain_full | High Level Programming | 4 | 02-15-2007 10:36 PM |
| Can under stand the script | sam71 | Shell Programming and Scripting | 0 | 05-13-2005 01:54 PM |
| AF_UNIX versus AF_INET | ivkumar | Security | 0 | 10-08-2002 09:38 AM |
| OEM - what does this abbreviation stand for? | Kanu77 | UNIX for Dummies Questions & Answers | 3 | 03-25-2002 05:23 AM |
| No stand-by, keep on | softarch | UNIX for Dummies Questions & Answers | 2 | 04-27-2001 01:40 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
as title. and how is it different from PF_INET ?
also, any one knows sin_family , sin_port , sin_addr ..etc ? why are they called 'sin' ? finally, htons() host to network short , htonl() host to network long , ntohs() network to host short , ntohl() network to host long. why would programmers care about 'short' or 'long' here ? why not just use either one of them ? |
| Forum Sponsor | ||
|
|
|
|||
|
I remember that AF stands for Address Family and PF stands for Protocol Family.
Also INET stands for INTERNET The "Richard Stevens" Unix Network Programming book throws more light on that. Thanks Nagarajan G Last edited by ennstate; 02-01-2008 at 01:28 AM. Reason: Answered INET question |
|
|||
|
Quote:
do you have an esay quick real example of what 32-bit(and 16-bit) data are like ? |
|
||||
|
32 bit number...
Code:
$ nslookup www.unix.com Server: dslrouter Address: 192.168.1.1 Non-authoritative answer: Name: www.unix.com Address: 81.17.242.186 $ Code:
$ grep http /etc/services http 80/tcp www www-http #World Wide Web https 443/tcp MCom https 443/udp MCom |
|
|||
|
Quote:
|
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash exec bash for loop command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix daemon process export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix interview questions unix simulator unix.com vi select all vi substitute vi+substitute+end+of+line+character while loop within while loop shell script |