Search Results

Search: Posts Made By: Hitori
Forum: Programming 10-28-2008
14,203
Posted By Hitori
After a few days with ftplib I've switched to...
After a few days with ftplib I've switched to libcurl and was surprised with its capabilities and stable work in comparison to ftplib.
Forum: Programming 10-26-2008
14,203
Posted By Hitori
I've choosed ftplib for now. But already have a...
I've choosed ftplib for now. But already have a problem: FtpLogin() failes when server responses "220 You will be disconnected after 15 minutes of inactivity." The last patch for ftplib was produced...
Forum: Programming 10-22-2008
14,203
Posted By Hitori
Hmmm, strange, for other languages there are a...
Hmmm, strange, for other languages there are a lot of perfect free libraries for FTP, e.g. Net::FTP for perl.
Forum: Programming 10-22-2008
14,203
Posted By Hitori
FTP Library
What is the "best" library to deal with FTP in C programming language? I've considered libcurl and ftplib (ftplib (http://nbpfaus.net/~pfau/ftplib/)), but libcurl is designed for HTTP-like protocols...
5,744
Posted By Hitori
mmap and select
I'm using select() to monitor multiple file descriptors (inet sockets) in application. But this application must also collaborate with other applications on the same host via shared memory (mmap'ed...
2
3,684
Posted By Hitori
syslog
I have the program that prints to STDOUT some debug info. I need to run this program like daemon (with the help of nohup). To see debug info I need to add strings from STDOUT to syslog, i.e....
Forum: Programming 10-25-2007
20,975
Posted By Hitori
If you read from socket HTTP/1.1 response then...
If you read from socket HTTP/1.1 response then you can determine the size of the data from Content-Length header. But be aware of chunked responses, i.e.



HTTP/1.1 200 OK
Date: Fri, 31 Dec...
25,592
Posted By Hitori
rsync over ftp
I need something like rsync but for synchronizing files on ftp server (perl is acceptable)

Thank you for advice
Forum: Programming 04-26-2007
3,070
Posted By Hitori
If you are interesting in Design Patters here is...
If you are interesting in Design Patters here is one paper http://www.javaworld.com/javaworld/jw-07-1999/jw-07-toolbox.html, that criticizes MVC pattern
Forum: Programming 04-25-2007
3,070
Posted By Hitori
You can (and should) use DP not depending on OS....
You can (and should) use DP not depending on OS. The peak of DP usage is in Java-programming, Java can be also used in Unix.
Forum: Programming 04-11-2007
5,080
Posted By Hitori
Look at...
Look at https://www.unix.com/showthread.php?t=28799&highlight=lock
Forum: Programming 04-11-2007
4,848
Posted By Hitori
You can implement this in similar 'standard' way,...
You can implement this in similar 'standard' way, e.g

Enter the number of worker threads (1):

If user enters nothing default value (1) is used.
Forum: Programming 04-11-2007
4,936
Posted By Hitori
See...
See http://www.yolinux.com/TUTORIALS/LinuxTutorialC++.html#GUIFRAMEWORKS
Forum: Programming 04-06-2007
4,781
Posted By Hitori
try shmid=shmget(KEY1, 4*1, SHM_R | SHM_W|...
try

shmid=shmget(KEY1, 4*1, SHM_R | SHM_W| IPC_CREAT);

This will create the segment if it does not exists
Forum: Programming 03-30-2007
5,626
Posted By Hitori
You need to send HTTP GET Request to the server...
You need to send HTTP GET Request to the server over created socket. And you recieve the HTTP REsponse through this socket.
Forum: Programming 03-30-2007
5,626
Posted By Hitori
When you use URL url = new...
When you use URL url = new URL("http://192.168.0.2/myfile.txt"); in Java you actually read the file with the help of HTTP protocol over TCP, to make this in C you need to

1) use sockets...
Forum: Programming 03-29-2007
1,963
Posted By Hitori
It's a good idea to develop open source project...
It's a good idea to develop open source project with autotools http://sources.redhat.com/autobook/
Forum: Programming 03-08-2007
2,910
Posted By Hitori
Watch out SE Linux, it can be the problem
Watch out SE Linux, it can be the problem
Forum: Programming 03-08-2007
5,474
Posted By Hitori
In memory floating point numbers (and other...
In memory floating point numbers (and other internal numbers excluding special cases like BCD) are stored in binary format (e.g. in Intel reverse order for integers on PC platforms), so 0.1, 0.01,...
Forum: Programming 03-08-2007
5,641
Posted By Hitori
/* Includes */ #include <unistd.h> /*...
/* Includes */
#include <unistd.h> /* Symbolic Constants */
#include <sys/types.h> /* Primitive System Data Types */
#include <errno.h> /* Errors */
#include <stdio.h> /*...
Forum: Programming 03-03-2007
15,766
Posted By Hitori
Learn raw sockets first...
Learn raw sockets first http://beej.us/guide/bgnet/
5,358
Posted By Hitori
It's a good idea but I experience some strange...
It's a good idea but I experience some strange NFS behaviour. When I copy file to the mounted disk the file is created but I recieve an error message. When I try to copy this file again (the file...
5,358
Posted By Hitori
Now I use NFS to have an access to the remote...
Now I use NFS to have an access to the remote filesystem's files, also I use it to copy changes made on the server to the client host (also 2 synchronized copies). If rsync will solve the problem,...
5,358
Posted By Hitori
Synchronization of 2 directories
I have 2 hosts (server and client), on the client side I mount remote directory (through NFS). How can I synchronize content of 2 directories (one on the client, and one on the server, mounted to the...
10,282
Posted By Hitori
We have a commercial biling system...
We have a commercial biling system (T-Interconnect) and use files with CDR's generated by different switches to test owr system, so we cannot send you any CDR generator.

BZW if it is not a secret,...
Showing results 1 to 25 of 357

 
All times are GMT -4. The time now is 05:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy