LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Sockets - lqNetDog and lqMiniTerm (req's libLQ)

Posted 01-23-2013 at 04:17 AM by rainbowsally
Updated 08-06-2014 at 07:36 AM by rainbowsally (bum link, note on sizes)

Sockets - lqNetDog and lqMiniTerm (req's libLQ)

Today's feature is:
  • lqNetDog and lqMiniTerm running sockets in a Qt gui.
  • C-style functions, Windows style conversion of slots to C funcs.
  • I/O in one terminal widget (still very simple).

Here's a screenshot.
http://rainbowsally.org/rainbowsally...ui-800x600.png

Here's a self extractor for the files.

file: ans-orig-gui.sfxz
purpose: utility (executable)...
Member
Posted in Uncategorized
Views 1126 Comments 0 rainbowsally is offline
Old

Sockets - The lqNetDog mini-lib for socket connections

Posted 01-22-2013 at 06:40 AM by rainbowsally
Updated 01-22-2013 at 10:52 AM by rainbowsally (moved some includes)

[Bad logic level in netdog_request() presumably fixed. -rs]

Sockets - The NetDog mini-lib for socket connections

Today's feature is:
  • NetDog. :-)
  • A simple non-blocking ans (listen) and orig (connect) example.
  • Minor bundling of socket functions to greatly simplify a successful connection.

Complicating this stuff is easy. Simplifying it is the hard part.

The non-blocking setup here simplifies coding for a gui which needs to constantly be...
Member
Posted in Uncategorized
Views 1360 Comments 0 rainbowsally is offline
Old

Sockets - A Packet Snooper With A QT4 GUI (Req's libLQ-qt/mc2 dload) Part 2

Posted 01-19-2013 at 06:58 AM by rainbowsally
Updated 08-06-2014 at 07:54 AM by rainbowsally (an afterthought)

Continuing from here.
http://www.linuxquestions.org/questi...-part-1-35273/

[screenshot]
http://rainbowsally.org/rainbowsally...et-snooper.png

Note: Corrected commandline for launching the server Jan 20, 2013 -rs

An afterthought:
While poking around in this stuff I found this warning in the linux/if_ether.h header.
...
Member
Posted in Uncategorized
Views 1172 Comments 0 rainbowsally is offline
Old

Sockets - A Packet Snooper With A QT4 GUI (Req's libLQ-qt/mc2 dload) Part 1

Posted 01-19-2013 at 06:54 AM by rainbowsally
Updated 08-06-2014 at 07:56 AM by rainbowsally (added link to part 2)

Sockets - A Packet Snooper With A QT4 GUI (Req's libLQ-qt/mc2 dload) Part 1

Today's feature is
  • Running a packet snooper in an lqMiniTerm 'run' loop function.

[Note: the lqMiniTerm is evolving a bit and will continue to evolve for a while as we experiment and discover things that come up over and over that are easier to address in the mini terminal than in the main() file's code. Currently term_printf() is a candidate for becoming a miniterm feature. Find out why! :-) ]...
Member
Posted in Uncategorized
Views 1406 Comments 0 rainbowsally is offline
Old

Sockets - Bidirectional Communication IPv4/6 (terminal version)

Posted 01-17-2013 at 08:54 PM by rainbowsally

Sockets - Bidirectional Communication IPv4/6 (terminal version)

Today's features:
  • More fun with sockets.
  • Bidirectional communication using IPv4 and IPv6 socket streams (sequential).
  • Interactive. (Only interprets one command, but it's easily expandable.)
  • Terminal version for broader usefulness.

[Note the addresses in this and the previous sockets experiments (here http://www.linuxquestions.org/questi...example-35270/)...
Member
Posted in Uncategorized
Views 1009 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration