02-27-2008
C networking
Can anybody help me regarding networking using c language
i know how to capture the packets and to verify it`s protocol destination and source ip etc.
Can anybody help me to direct a packet coming to an ip to some other ip of my choice ........
Hope reply
pleaseeeeeeeee....................
10 More Discussions You Might Find Interesting
1. IP Networking
In plain english what exactly is IP Networking?
Can someone take the time to explain? please! (3 Replies)
Discussion started by: kikkin
3 Replies
2. IP Networking
dear sir
how many name server can be configured in single machine?
thank you very much.
sandeep goel (3 Replies)
Discussion started by: ask_goel
3 Replies
3. UNIX for Dummies Questions & Answers
Hi new user to UNIX and I am in the process of networking my UNIX box to my windows2000....Is there a special program I have to install so that my windows would recognize and see the Unix box....any suggestions would be great
Thanks (1 Reply)
Discussion started by: jonas27
1 Replies
4. IP Networking
HI guys/gals
basic question
lets say i am running a network. lets say i am using Win Me.
how would i network Win Me to a computer that has linux and another that has 98 well the 98 is no problem but the linux well i have an idea but i am rusty with linux. No i have rusted out. Would you make... (1 Reply)
Discussion started by: pydyer
1 Replies
5. AIX
Please accept my apology ahead of time. Our AIX admin left the company unexpectedly and I am now left with trying to get a p570 w/5.3 setup. I had the help of an IBM reseller on setting up the LPARs, but need some quick questions answered.
1. I have 1 on-board NIC and 2 slot NICs. How do I... (2 Replies)
Discussion started by: LegendMan
2 Replies
6. Solaris
I can't or i don't know how to put up a network and internet on sun solaris 10. I looked and found some stuff on forums around net but I'm missing a few files. Like, "defaultrouter", "resolve.conf", ping is not working ( host unreachable), my card is "lo0" when I use ifconfig -a comand. Should I... (8 Replies)
Discussion started by: salvor_hardin
8 Replies
7. UNIX for Advanced & Expert Users
hi everyone
this is dipendra, i am interested in networking,i know simple socket programming . and now i am wonder to get in to audio socket. i have no clue how to build audio socket.so i am looking if u can provide me a link regarding the audio socket building tutorials. (1 Reply)
Discussion started by: dipendra_regmi
1 Replies
8. IP Networking
Hi,
I have a question on networking. I will try to ask with an example...
Suppose i am googling something, as in searching something in the google page. In this case what I basically want to know is, does the client do a connect evrytime to the server whenever a search is done in google,... (1 Reply)
Discussion started by: naan
1 Replies
9. Solaris
What am I doing wrong, I configure interfaces ce1,ce,2 and ce3 but when I reboot the server they lose the configuration and I have to reset them?
ifconfig ce1 plumb
ifconfig ce2 plumb
ifconfig ce1 155.216.13.72 netmask 255.255.255.240
ifconfig ce2 155.216.13.73 netmask 255.255.255.240... (5 Replies)
Discussion started by: Kjons76
5 Replies
10. IP Networking
hi
From mt windows machine I can ping a LINUX machine but there is no arp entry for the same LINUX on my windows.
How is it possible and what can I do to add the arp entry as I need it.
thanks (1 Reply)
Discussion started by: leghorn
1 Replies
LEARN ABOUT OSX
pcap_create
PCAP_CREATE(3PCAP) PCAP_CREATE(3PCAP)
NAME
pcap_create - create a live capture handle
SYNOPSIS
#include <pcap/pcap.h>
char errbuf[PCAP_ERRBUF_SIZE];
pcap_t *pcap_create(const char *source, char *errbuf);
DESCRIPTION
pcap_create() is used to create a packet capture handle to look at packets on the network. source is a string that specifies the network
device to open; on Linux systems with 2.2 or later kernels, a source argument of "any" or NULL can be used to capture packets from all
interfaces.
On Darwin systems version 13 or later, a source argument of "all" or "any" can be used to capture packets from all interfaces. A source
argument of NULL can be used to capture packets from all physical interfaces, i.e. excluding loopback, virtual and tunnel interfaces.
The returned handle must be activated with pcap_activate() before packets can be captured with it; options for the capture, such as promis-
cuous mode, can be set on the handle before activating it.
RETURN VALUE
pcap_create() returns a pcap_t * on success and NULL on failure. If NULL is returned, errbuf is filled in with an appropriate error mes-
sage. errbuf is assumed to be able to hold at least PCAP_ERRBUF_SIZE chars.
SEE ALSO
pcap(3PCAP), pcap_activate(3PCAP)
5 April 2008 PCAP_CREATE(3PCAP)