First  |  Prev |  Next  |  Last
Pages: 221 222 223 224 225 226 227 228 229 230 231 232 233 234
FIFO synchronization problem
Hi, I have a problem related to FIFOs under Linux. I'm developing a simple application with a server that open his fifo(server_fifo) for reading and then blocks waiting for writers. When I open a client the server gets unblocked and reads the messages sent by clients... but the problem is that the first fgets I do ... 13 May 2006 15:54
"is not an identifier"
i have the following ~/S1/C1.sh #!/usr/bin/sh .. $HOME/include2.ksh .... $HOME/include2.ksh has the following line: #!/bin/ksh .... export VAR1=/dir1/app1 in ~/S1, I ran C1.sh as follows: ../C1.sh I got the following error: ../C1.sh: VAR1=/dir/app1: is not an identifier how to solve th... 10 May 2006 15:01
My simple tcp sniffer sniffs only incoming packts and not outgoing packets. Why ???
Hi everybody. I'm trying to write a simple as possible tcp sniffer in C. It seems to work, it goes in promiscuous mode and sniffs packets but it sniffs ONLY incoming packets. I can't really figure out why it won't show me outgoing packets. Probably i'm missing something, but I don't know what. Can you help me? M... 17 Apr 2006 10:54
problem with grep
>From a set of files of extension c ,i need to find a pattern string and the output must also contain the filename of the file tht contains the match. i did $ cat `find . -name '*.c'`|grep -H mystring but its giving the location as standard input. I need the name of the C file. ... 12 Apr 2006 08:54
how to draw the grahic ,ncurses
I want to draw a grahic using ncurse,but met some problem. printw("\n _____ _____ _ |_ _|____ _|_ _| __(_)___ | |/ _ \\ \\/ / | || '__| / __| | | __/> < | || | | \\__ \\ |_|\\___/_/\\_\\ |_||_| |_|___/\n\... 12 Apr 2006 00:33
changing environment variables
hi friends, giving the command as "echo $PATH" it starts looking from /usr/kerberos/bin and then goes to /root/bin. so how can v avoid fetching in /usr/kerberos/bin without altering anything in .bash_profile because that would be applicable for that particular user only but i want it to be for every user who lo... 5 Apr 2006 11:17
Y2038 and time_t
With time_t being a signed 32 bit integer marking the number of seconds since 1 Jan 1970, most of us know it will be overflowing on 19 Jan 2038 (6 Jan 2038 if you use the Julian calendar). So how will this end up being fixed? I see some possibilities: 1. Redefine time_t to be a 64 bit signed integer. This wou... 15 Apr 2006 11:48
How to know server is alive?
Hi, All I want to know that if I have one udp client sending some UDP packets,so how can I know that whether the UDP server to which I am sending the packets is alive or not Waiting......... Thanks in Advance Divij ... 5 Apr 2006 21:11
awk command
Hi all., i am working on script. I have a file. i type ls -ltr and i get -rwxrwx--- 1 pavi C2052EX 15 Mar 21 09:50 START.TTN.20060321.095017.ctl_20060321095032 ( pls note everything is in 1 line, here it came in 2 lines.) I have to use awk command and only get the MAR 21 to be displayed in the out.it i... 21 Mar 2006 21:07
how to use cut here?
Hi I m somwwhat new to unix and i cannot figure out how do i extract the values under the heading VALUE (see below) for all the files ...i used cut command as cut -f3 -d ' ' but couldnt get the desired output. i need the output to be the list of all unique values ( we'll use uniq command i think) not including .r... 19 Mar 2006 12:48
First  |  Prev |  Next  |  Last
Pages: 221 222 223 224 225 226 227 228 229 230 231 232 233 234