03-22-2014
great , now i am getting to it ..
but my understanding was , from transport to network layer , the only data that passing is TCPheader+data , and in this IP address is not available though.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI,
Iam jus tin a confusion that solaris and unix are the same.if they are diffrent,how they are?pls give me a brief idea abt these two.
I will be very grateful to you
thanks (1 Reply)
Discussion started by: shruti_mgp
1 Replies
2. Shell Programming and Scripting
Hi,
Can i use the shell script like this? When i am running the script it is hanging not giving me any output. I can redirect the output and then i can do the manipulations also but why this one is wrong. I am confused we can do like this or not..
#!/usr/bin/ksh
for line in `top`
do... (2 Replies)
Discussion started by: namishtiwari
2 Replies
3. UNIX for Dummies Questions & Answers
How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated. (1 Reply)
Discussion started by: salil2012
1 Replies
4. UNIX for Advanced & Expert Users
in my parition i hav parition like this
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 24G 22G 756M 97% /
/dev/sda5 248G 1.2G 234G 1% /else
/dev/sda1 965M 24M 892M 3% /boot
tmpfs 7.0G 0 7.0G 0%... (1 Reply)
Discussion started by: ponmuthu
1 Replies
5. Shell Programming and Scripting
Hi,
I have a file with multiple entries and I have calculated the percentages. Now I want to know how many of my entries are there between 1-10% 11-20% and so on..
chr1_14401_14450 0.211954217888936
chr1_14451_14500 1.90758796100042
chr1_14501_14550 4.02713013988978... (1 Reply)
Discussion started by: Diya123
1 Replies
6. Red Hat
I need help in opening the .exe files in linux. As i have downloaded ubuntu os from trail version.
after executing the the file name in terminal it is stating that get archive files for opening the .exe files.
But i am unable to get it
please help me (2 Replies)
Discussion started by: yashwanthguru
2 Replies
7. Ubuntu
hi ,, i am new for this.. i want to know abt linux os.. which version is best for it industry.. please suggest me..:cool: (1 Reply)
Discussion started by: c vignesh kumar
1 Replies
8. UNIX for Beginners Questions & Answers
in my shell script requirement is to search and replace the file with variable so i use the following command sed -i "s/abc/$SCHEMA/g" table.sql
later when the script runs sqlplus username/pwd@Table& this & is not letting the variable to replace the value inside the file .please let me know... (1 Reply)
Discussion started by: bhuvan1
1 Replies
ip(4p) ip(4p)
Name
ip - Internet Protocol
Syntax
#include <sys/socket.h>
#include <netinet/in.h>
s = socket(AF_INET, SOCK_RAW, 0);
Description
The IP is the transport layer protocol used by the Internet protocol family. It can be accessed through a ``raw socket'' when developing
new protocols or special purpose applications. IP sockets are connectionless and are normally used with the and calls. The call, however,
can also be used to fix the destination for future packets, in which case the or and or system calls can be used.
Outgoing packets automatically have an IP header prepended to them, based on the destination address and the protocol number the socket is
created with. Incoming packets are received with their IP headers and options intact.
Diagnostics
On failure, a socket operation returns any of the following errors:
[EISCONN] Tried to establish a connection on a socket that already had one, or tried to send a datagram with the destination address
specified when the socket was already connected.
[ENOTCONN] Tried to send a datagram, but no destination address was specified and the socket was not connected.
[ENOBUFS] The system ran out of memory for an internal data structure.
[EADDRNOTAVAIL]
Made an attempt to create a socket with a network address for which no network interface existed.
See Also
send(2), recv(2), inet(4f), intro(4n), packetfilter(4)
ip(4p)