Programming

Where can I find info of socket ?

hi there,

http://www.debianhelp.org/node/1167

The above post is a really useful way of generating m3u files to play media.
But I posted a question as a comment on it. I'm posting it here to see if there are any programmers who can help.

I manged to get the script to create lots of m3u files. Great.

But I couldn't work out how to get it to append http://192.168.1.23/ to the beginning of each file name - this is needed as I really want to share these tunes on a LAN.

in the m3u files are lines like this

/var/www/fuzztunes/world/latin/SolarSystem/primera edition/SolarSystem_primera edition_01.mp3
/var/www/fuzztunes/world/latin/SolarSystem/primera edition/SolarSystem_primera edition_02.mp3

but I need to get lines like this

Hi,

First off this is my first post here so If I'm in the wrong forum please direct me to a more appropriate place.

I'm trying to compile and use a USB driver for an X10 CM19A device. I have used this driver fine in the past. With Debian the driver compiles, installs and functions fine. But, it creates a device under /dev with the wrong minor node number. The driver requests the usb_class_driver.minor_base of 252 but debian always installs the device node with minor set to 0.

ls -al /dev/cm19a0
crw-rw-rw- 1 root root 180, 0 Nov 12 12:06 /dev/cm19a0

The same driver code compiled and installed in ubuntu uses the expected minor node number.

ls -al /dev/cm19a0
crw-rw-rw- 1 root root 180, 252 2010-11-12 12:33 /dev/cm19a0

dear gcc programers:
I already replace "Window" by "Window2" in Mr. Bjarne
Stroustrup's book
"programming
Principles and practice using c++" Chapter 12, display model
chapter.12.3.cpp
as the result, my g++ 4.4.3, indeed take off that
" name ambiguous error" it used showed.
/*****-------------------------------------------------------*/
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning:
#warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality
instead. For a listing of replacement headers and interfaces, consult
the file backward_warning.h. To disable this warning use
-Wno-deprecated.

I try to install system c + SCV (from OSCI) on debian version 5.0.6 (lenny).
The issue is that debian does not compile well a conftest and fails in the configure phase.
It seems that if I add two include files it passes:
I included the following:
#include
#include
The former for the exit and the latter for strcmp.
This is the original conftest.cc

Is it a problem in debian or in the package.

namespace std {}
using namespace std;
#include
#include
#include
int main()
{
#define STRING_SIZE 100
char buf[STRING_SIZE];
int i = 1;
sprintf(buf, "hello world %i", i);
/*
if (strcmp(buf,"hello world 1") != 0)
{
exit(1);
}
*/

std::ostringstream outString;
outString << "hello world " << i;
/*

Syndicate content Syndicate content