Search Results

Search: Posts Made By: xyzt
Forum: Ubuntu 09-10-2012
3,139
Posted By xyzt
How to fix broken packages?
I had played with the boost development packages for a while ago and now Synaptic fails to remove or add new packages, giving the below error report:

E:...
Forum: Linux 04-03-2011
12,167
Posted By xyzt
Yes, with the --user-agent="" and host name to ip...
Yes, with the --user-agent="" and host name to ip conversion, it works for me too.
But it still fails with the host name...
Forum: Linux 04-03-2011
12,167
Posted By xyzt
Another clue is: ------------- $ nslookup...
Another clue is:

-------------
$ nslookup repo2.maven.org
Server: 192.168.2.1
Address: 192.168.2.1#53

Non-authoritative answer:
Name: repo2.maven.org
Address: 207.223.240.88
-----------...
Forum: Linux 04-03-2011
12,167
Posted By xyzt
Yes, I can ping the host and also nslookup...
Yes, I can ping the host and also nslookup resolves the host address...
Forum: Linux 04-02-2011
12,167
Posted By xyzt
Hi I have tried 'wget --user-agent="" ' but...
Hi

I have tried 'wget --user-agent="" ' but i get exactly the same error...

I don't have any proxy set up in my browser...
Forum: Linux 04-02-2011
12,167
Posted By xyzt
Here is the error: $ wget...
Here is the error:
$ wget http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar
--2011-04-03 01:03:27-- ...
Forum: Linux 04-02-2011
12,167
Posted By xyzt
downlading using wget fails
I'm trying to build Thrift library..It downloads some files from the Maven repo during the build process.
It failed while downloading a file called "ivy-2.2.0.jar"
Then I downloaded that file using...
Forum: Programming 01-05-2011
4,172
Posted By xyzt
using libpcap with timeout
I want to write a small application using Libpcap in C on Linux.

Currently, it starts to sniff and waits for the packets. But that's not what I need actually. I want it to wait for N seconds and...
Forum: Programming 07-22-2010
4,443
Posted By xyzt
time access in C
I've a problem with time functions in C. I get current time and convert it to local time and gmt time. But their value seems to be same.I think I'm missing something..

#include <stdio.h>
#include...
1,670
Posted By xyzt
is process data cached somewhere?
hi

When I search a file with find, the subsequent search process takes relatively less time.
Is it cached somewhere in RAM altough the process died?
Forum: Programming 04-12-2010
7,101
Posted By xyzt
Receiving broadcast packets using packet socket
Hello

I try to send DHCP RENEW packets to the network and receive the responses. I broadcast the packet and I can see that it's successfully sent using Wireshark. But I have difficulties receiving...
Forum: Programming 03-17-2010
6,722
Posted By xyzt
how to link without using ld -rpath
Hello,
I'm tryign to compile a sample code which uses OTL(Oracle, Odbc and DB2-CLI Template Library Programmer's Guide (http://otl.sourceforge.net/)). I get this error while compiling the source...
Forum: Programming 03-07-2010
7,128
Posted By xyzt
retrieving network interface list
Hello
I have a problem with retreiving network interface list using IOCTLs. I have 4 interfaces:

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback...
Forum: Red Hat 02-21-2010
5,292
Posted By xyzt
generating core dumps
Hi
I have a Fedora installed and I try to generate my application's core dump file.
My system has no coredump limit:
$ ulimit
core file size (blocks, -c) unlimited

But when my...
7,840
Posted By xyzt
Monitoring the arp table
Man page of netlink says:
---------------------------------
NETLINK_ARPD
For managing the arp table in user space.
----------------------------------

Is it possible to monitor...
Forum: Programming 12-04-2009
3,671
Posted By xyzt
you still have this problem? maybe i could help...
you still have this problem? maybe i could help you.
Forum: Programming 12-03-2009
2,632
Posted By xyzt
thanks.I got it.by the way,I have a linux box.
thanks.I got it.by the way,I have a linux box.
Forum: Programming 11-14-2009
2,632
Posted By xyzt
Connecting child processes to the server
I try to fork child processes and they connect to a server.
At the beginning, I create a socket(1 socket for all child processes), after that at each child process I connect to the server using...
Forum: Programming 11-14-2009
10,686
Posted By xyzt
I solved the problem by handling the SIGCHLD...
I solved the problem by handling the SIGCHLD signal and counting the child processes number.
Forum: Programming 11-12-2009
10,686
Posted By xyzt
Yes, exactly that. at any time, the max number...
Yes, exactly that.
at any time, the max number of the childs will be 50, but the application will run forever.
Forum: Programming 11-11-2009
10,686
Posted By xyzt
How to limit the number of child processes
I need a mechanism to fork child processes and all child processes should connect to a server.but the number of child processes should be limited(for ex:50)
Here's my pseudo, but I cant figure out...
Forum: Programming 09-27-2009
3,888
Posted By xyzt
Random numbers in parent/child?
Hi

I'm trying to generate random numbers both in parent process and the child process. But I get the same random number in both processes. Why doesn't it generate different numbers altough I seed...
Forum: Programming 08-31-2009
19,755
Posted By xyzt
SYNOPSIS #include <sys/sendfile.h> ...
SYNOPSIS
#include <sys/sendfile.h>

ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
DESCRIPTION
Presently (Linux 2.6.9): in_fd, must correspond to a file...
Forum: Programming 08-28-2009
19,755
Posted By xyzt
You mean, MTU is 1500 by default. But how can...
You mean, MTU is 1500 by default.
But how can we learn what's the actual MTU in that system?
26,662
Posted By xyzt
How to hide command line parameters?
Hello

I want to hide command line parameters of my programs/scripts to not to be seen with 'ps' command.
How can I do that?
thanks in advance.
Showing results 1 to 25 of 38

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