Tcpdump , ethereal , not worthy ? Multithreaded aplication ?
If you wanna measure/count how many bytes does a client receive ( on the server side ) , you can easily implement a contor , for receive bytes.Suposing that all byte's receive by one client are send by the server , it's easy to make something like :
Let's say da is the string passed to the client ( a client J ).You incremenent a contor so measure how many bytes are transfered to the client.
Let's say I send 4 bytes to the client ( once ) and then 3 .. I can do this.
So if all trafic to a specified client , is send by the server to that client , you can easily count how many bytes , are received by the client J .
I'd like to find out how to redirect Outbound packets.
So instead of having packets go to IP1 as they normally would, have them go to IP2 instead.
I believe this is possible using IPFW but I'm not sure. I've played with it, but haven't gotten too far.
Any ideas would be appreciated. (1 Reply)
I am working on a project, which has the following type of hardware setup.
A special hardware device is receiving data from an external network interface. So we can have multiple such a hardware devices. Now these hardware devices will route the captured incoming data through the external... (4 Replies)
Hi,
My Solaris Workstation has got 4 NICS, out of which one of them(bge3) is unplugged from the rest of the external network & connected to other interface(bge1). The isolated NIC serves as a simulated Ethernet Interface for my application under development.
Now, I'd like to capture RAW... (1 Reply)
salutation experts,
I want to counting arrival and outgoing packets in a specific interval (ethernet interface), what library or method you offer me that i can use it in c lang?
tnx (1 Reply)
Hello
I need to send some packets to check connection. Packets will be catch by snoop. Is there any Sun tool to send some packets on selected IP and Port?
Thx (1 Reply)
hi guys
I've configured snmp on some linux
snmpd.conf
rocommunity com_read x.x.x.10
rwcommunity com_write x.x.x.10
Now one of my coworkers asked to do the same that he does on windows for my linux....
But I have no idea how to configure that basically when SNMP is configure there... (5 Replies)
I was checking routing table, and noticed that our server has a lot packets from localhost:
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
..
127.0.0.1 127.0.0.1 ... (1 Reply)
Hi,
I'm quite new to unix networking and ip tables. I'm running a debian (htpc) server with two NIC's; eth0 and wlan0.
I'm trying to set it up in a way that eth0 is the default interface for internet, but some processes should run through wlan0.
For example, I'm using eth0 for downloads... (2 Replies)
Discussion started by: Subbeh
2 Replies
LEARN ABOUT OSF1
xselectinput
XSelectInput(3X11)XSelectInput(3X11)NAME
XSelectInput - select input events
SYNOPSIS
XSelectInput(display, w, event_mask)
Display *display;
Window w;
long event_mask;
ARGUMENTS
Specifies the connection to the X server. Specifies the event mask. Specifies the window whose events you are interested in.
DESCRIPTION
The XSelectInput function requests that the X server report the events associated with the specified event mask. Initially, X will not
report any of these events. Events are reported relative to a window. If a window is not interested in a device event, it usually propa-
gates to the closest ancestor that is interested, unless the do_not_propagate mask prohibits it.
Setting the event-mask attribute of a window overrides any previous call for the same window but not for other clients. Multiple clients
can select for the same events on the same window with the following restrictions: Multiple clients can select events on the same window
because their event masks are disjoint. When the X server generates an event, it reports it to all interested clients. Only one client at
a time can select CirculateRequest, ConfigureRequest, or MapRequest events, which are associated with the event mask SubstructureRedirect-
Mask. Only one client at a time can select a ResizeRequest event, which is associated with the event mask ResizeRedirectMask. Only one
client at a time can select a ButtonPress event, which is associated with the event mask ButtonPressMask.
The server reports the event to all interested clients.
XSelectInput can generate a BadWindow error.
DIAGNOSTICS
A value for a Window argument does not name a defined Window.
SEE ALSO
Xlib -- C Language X Interface
XSelectInput(3X11)