Sponsored Content
Full Discussion: Real Packet Counter
Top Forums Programming Real Packet Counter Post 302222993 by galaxy.ice on Friday 8th of August 2008 05:15:35 AM
Old 08-08-2008
Data Real Packet Counter

Hello Experts, I want to program a realtime Packet counter, that is consist of two threads, first is packet counter engine and second is a (QTWidget)QT gui program(main process) for painting a real time chart, which classes or events are suitable for doing that? (OpenGL or Paint event or ...).note that it must be capable to updating itself in a loop.
also, I made thread in a widget constructor, how can I pass data from thread function to a widget method, instantly, repeatly?
TNX ?(
 

8 More Discussions You Might Find Interesting

1. IP Networking

Seeing IP packet

Hi, Is there any way that i can directly take out the IP packet and see its contents. Waiting for your answer .............. Bye (4 Replies)
Discussion started by: manjunath
4 Replies

2. Shell Programming and Scripting

counter

Hi, I need some help. Shell script counter. i need to add condition to check if counter is more than 10 and longer than 3 hours? it runs every 5 mins. it only check count and send email right now. it runs in cron as below gregcount.ksh gregdb 10 > /tmp/gregcount.out 2> /tmp/gregcount.err ... (1 Reply)
Discussion started by: pega
1 Replies

3. Programming

packet capture

can anyone tell me how can i capture the packets. i have tried ethernet software to capture them but its not doing what i want it to do it (1 Reply)
Discussion started by: dazdseg
1 Replies

4. IP Networking

Packet decoding

Hi, wondering if anyone can suggest a tool to me that will let me either cut & paste hex or type it in for packet decoding. I want to be able to decode a packet as done with tcpdump or wireshark, but I want to be able to manually input the hex myself. (2 Replies)
Discussion started by: Breakology
2 Replies

5. Cybersecurity

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

6. Homework & Coursework Questions

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

7. Shell Programming and Scripting

Counter

if ;then echo "mrnet greater 5000" gzip /var/log/mrnet.log mv /var/log/mrnet.log.gz /var/log/mrnet.log.1.gz if ];then i=1 let i++ mv /var/log/mrnet.log.1.gz /var/log/vieux-logs/mrnet.log.$i.gz else echo "theres no... (1 Reply)
Discussion started by: Froob
1 Replies

8. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies
XtBuildEventMask()														XtBuildEventMask()

Name
  XtBuildEventMask - retrieve a widget's event mask.

Synopsis
  EventMask XtBuildEventMask(w)
	 Widget w;

Inputs
  w	    Specifies the widget.  Must be of class Core or any subclass thereof.

Returns
  An event mask with a bit set for each event type the widget is receiving.

Description
  XtBuildEventMask() returns a widget's event mask.  The mask reflects the events the widget is currently selecting.  (If the widget is unre-
  alized, then the mask reflects the events the widget will select when it is realized.)  This event mask is the  logical  OR  of  all	event
  masks selected by adding event handlers and event translations (including accelerators).  It is updated whenever event handlers or transla-
  tions are installed or removed for the specified widget.

Structures
  The event_mask is formed by combining the event mask symbols listed in the table below using the bitwise OR operator ( ).  Each mask symbol
  sets a bit in the event_mask.

NoEventMask		Button1MotionMask      StructureNotifyMask
KeyPressMask		Button2MotionMask      ResizeRedirectMask
KeyReleaseMask		Button3MotionMask      SubstructureNotifyMask
ButtonPressMask 	Button4MotionMask      SubstructureRedirectMask
ButtonReleaseMask	Button5MotionMask      FocusChangeMask
EnterWindowMask 	ButtonMotionMask       PropertyChangeMask
LeaveWindowMask 	KeymapStateMask        ColormapChangeMask
PointerMotionMask	ExposureMask	       OwnerGrabButtonMask
PointerMotionHintMask	VisibilityChangeMask

See Also
  XtAddEventHandler(1), XtAddRawEventHandler(1), XtRealizeWidget(1).

Xt - Event Handling														XtBuildEventMask()
All times are GMT -4. The time now is 06:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy