Forum: Computer Science Jul 6th, 2009 |
| Replies: 2 Views: 444 I can't just turn in a "Tutorial: how to create messengers". That's not the topic, sadly :/
What I had in mind when writing "I need a framework" was:
title: blabla
chapter 1: gonna discuss stuff... |
Forum: Computer Science Jul 5th, 2009 |
| Replies: 2 Views: 444 I figured this topic doesn't really fit here, but daniweb is one of the biggest IT community I know and I found help here several times, too, so maybe someone will help me out :)
After years of... |
Forum: C Apr 22nd, 2009 |
| Replies: 2 Views: 317 Ah, pipes = I'm lost :/
I should read the output of the "ls" or w/e with the popen(), put it in a string/char and then send it, but how? Can I send simple strings with "msgsnd"? Usually I'm sending... |
Forum: C Apr 18th, 2009 |
| Replies: 2 Views: 317 Hey, i'm writing a client-server, so far i've got this:
my structure
typedef struct mesg{
long type;
pid_t pid;
char data[64];
} MSG;
the client
int main(int argc, char *argv[]){ |
Forum: Java Apr 18th, 2009 |
| Replies: 0 Views: 210 Hey, got a problem with connecting to some ldap's.
Hashtable data = new Hashtable();
data.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");... |
Forum: Java Feb 20th, 2009 |
| Replies: 5 Views: 462 |
Forum: Java Feb 14th, 2009 |
| Replies: 5 Views: 462 Oh. Thanks, somehow I missed it. So all I actually need is to use:
LdapConnection lc = newe LdapConnection();
lc.Connect( "www.LDAPServer.com", portNumber );
lc.Bind( login, password );
to have... |
Forum: Java Jan 20th, 2009 |
| Replies: 5 Views: 462 Hey, I'd like to write an application (in java, ofc) that would be able to connect to an LDAP server, with authentication, using sessions. Are there any libraries I could use to do so out there? Open... |
Forum: Shell Scripting Nov 8th, 2008 |
| Replies: 0 Views: 459 Hey, I wanted to write a script that would act as a shell, meaning: would display prompt, read from keyboard and run system commands. My guess would be to use fork() and exec() and strtok(), so I... |
Forum: Shell Scripting Sep 3rd, 2008 |
| Replies: 3 Views: 1,775 Ah, lame me, didn't know about those -d = dir, -f = file :/
Thanks, that one works fine, but the 1st one just prints the content of the online.txt file, twice, in two lines. How come? |
Forum: Shell Scripting Sep 2nd, 2008 |
| Replies: 3 Views: 1,775 Hi, I've got 2 problems with sh:
1) I have a list of logins, seperated by a space (in a logins.txt file, like so: login1 login2 login3). I'd like to display those login names which are online AND... |
Forum: Python Aug 26th, 2008 |
| Replies: 3 Views: 879 Thanks guys, I allready took the hard way:
x_domyslne='insert into prodzina (ID_prac,stan_cywilny,ilosc_dzieci,ubezpieczenie) values ((select id_prac from ppracownicy where nazwisko='+a+nazw+a+'... |
Forum: Python Aug 22nd, 2008 |
| Replies: 3 Views: 879 Hey, I'm having trouble dealing with this - I made a table:
create table prodzina(
ID_prac integer references Ppracownicy,
stan_cywilny varchar(20),
ilosc_dzieci integer,
ubezpieczenie bool);... |