LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

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 493 Comments 0 rainbowsally is offline
Old

Sockets - UDP RX (recieve/transmit) terminal example

Posted 01-17-2013 at 06:15 PM by rainbowsally
Updated 01-17-2013 at 06:16 PM by rainbowsally

Sockets - UDP RX (recieve/transmit) terminal example
Today's feature:
  • A UDP file server and client using linux sockets.
  • A terminal app for those who don't have libLQ-qt and mc2.

[This is for our LQ-less friends. A libLQ version using a qt gui but NOT qt sockets should be forthcoming shortly.]

This upload is pushing the size limit but it's interesting to see how the broadcast channel is set up (in inc/broadcast-rx.c) and how the parts of the files are picked up...
Member
Posted in Uncategorized
Views 662 Comments 0 rainbowsally is offline
Old

mini-term in qt4

Posted 01-17-2013 at 03:34 AM by rainbowsally
Updated 08-06-2014 at 07:58 AM by rainbowsally

mini-term in qt4.

Today's features:
  • A simple terminal-like application built from a qt4 class that can be used for other stuff too.
  • The present application can run shell commands and has copy/paste (ctrl-c, ctrl-v) capabilitity.
  • Another example of the Windows-like api so that C/C++ code can run in Qt4.
  • Runs the custom code (terminal in this case) inside a QT 'exec' loop... sorta. We call it 'run()'.

Screenshot:
http://rainbowsally.org/rainbowsally...iterm-test.png...
Member
Posted in Uncategorized
Views 463 Comments 0 rainbowsally is offline
Old

QT4 -- Having trouble with qInitResouces_<appname>() ?

Posted 01-14-2013 at 03:46 AM by rainbowsally
Updated 01-14-2013 at 04:01 AM by rainbowsally

Having trouble with qInitResouces_<appname>()?

Try this.
Code:
#ifdef Q_INIT_RESOURCE
#undef Q_INIT_RESOURCE
#endif

#define Q_INIT_RESOURCE(name) extern void qInitResources_##name()
The version of this macro in qglobal.h could never have ever worked.

If you enjoy digging into the low level stuff, I think you'll be amused by the context of this bug. ;-)

- The Computer Mad Science Team...
Member
Posted in Uncategorized
Views 470 Comments 0 rainbowsally is offline
Old

Parser Test 3 (A Return Stack & Compiler)

Posted 01-03-2013 at 09:53 AM by rainbowsally
Updated 01-10-2013 at 06:05 PM by rainbowsally

Parser Test 3 (A Return Stack & Compiler)

A self extractor for the 'lib' files that we include for this (pretty cute) little calculator are here.
http://www.linuxquestions.org/questi...wsally-615861/

Re: the compiler part. It's not much of a compiler, but it serves as a proof of concept. (It's used internally, the program is not compiled.)

Before we dig in here, I should say...

Bug in Parser Test 2.

...
Member
Posted in Uncategorized
Views 537 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 07:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration