Search Results

Search: Posts Made By: chenhao_no1
Forum: Programming 07-17-2003
2,108
Posted By chenhao_no1
the performance impaction of TCP communication in same machine?
Two processes at the same machine communicaton with each other use TCP. The communicaton flow between them is very heavy.
My question is How the impaction of "processes at the same machine...
Forum: Programming 04-20-2003
4,856
Posted By chenhao_no1
how does va_arg implement ?
1 . How does va_arg implemented by system?
Forum: Programming 04-19-2003
1,718
Posted By chenhao_no1
tcpdump get packate, Application get the packete too?
1. use Digital Unix 4.0F
2. as we know, tcpdump can get network package. But does it
peek packates like MSG_PEEK flag in recvmsg() OR does it
get packetes from kernel processed or...
Forum: Programming 04-01-2003
31,191
Posted By chenhao_no1
Why Cause EINTR ?
I write a TCP programe .When I read block at some port I get an EINTR . Why The EINTR caused? How Can I Ingore The EINTR
Forum: Programming 04-01-2003
17,138
Posted By chenhao_no1
1. pfconfig +promisc +copyall -all 2. tcpdump...
1. pfconfig +promisc +copyall -all
2. tcpdump -mlex -vv tcp port any_port
Forum: Programming 03-24-2003
17,138
Posted By chenhao_no1
How To Use tcpdump
I have two net-card. one is 172.16.24.99(ENG) ,another is 172.16.25.99(ENG-B). Both masks is 255.255.255.0.
I will monitor data on the tcp port 8055 in ENG, How do I set option of tcpdump command
1,347
Posted By chenhao_no1
How To Set Enviorment ?
I use /bin/ksh
As we know that if we export an enviorment in command terminal, then the enviorment can be used in that termial , it can not take effect in other terminals .
How Can I export an...
Forum: Programming 01-23-2003
8,592
Posted By chenhao_no1
How To Find Unresolved symbol in shared library?
1 . I use Digital Unix V4.0F
2 . I compile a programe which use a shared library . But when I run it( prog.out) , the shell told me that "Fatal Error : /sbin/loader : unresolved symbol in...
Forum: Programming 11-20-2002
2,706
Posted By chenhao_no1
i-node problem
First , thank you for reading the post.

I Use Digital Unix 4.0F .

I get an i-node number of a text file using stat() function . I want to read the file context following the i-node...
Forum: Programming 11-17-2002
5,227
Posted By chenhao_no1
How to Use macro _POSIX_SOURCE with pthread
I use Digital Unix 4.0F (OSF/1) .I write a simple programe :

#define _POSIX_SOURCE
#include <pthread.h>

void main(void)
{ }

But , the compiler report many errors .
I do not know why the...
Forum: Programming 10-31-2002
1,758
Posted By chenhao_no1
get input whithout inputs echoing in screen
I want to write a functionz(work on command line mode) which require user input password , but I do not want the passwd echo in screen , then I should not use scanf() . Which function should I use ?...
Forum: Programming 09-24-2002
6,724
Posted By chenhao_no1
How to broadcast in Unix machine
How can I broadcast in a lonely Unix machine .
One process can inform other processes in the same machine that something happened .
Do not inform these processes one after another in a loop.You...
Forum: Programming 09-09-2002
3,067
Posted By chenhao_no1
Why process leader can not call setsid()
Why process leader can not call setsid()
Forum: Programming 09-09-2002
8,052
Posted By chenhao_no1
what difference between "terminal" and "console"
1 . Thank you for reading the post first.
2 . what difference between "terminal" and "console"
Forum: Programming 08-23-2002
2,627
Posted By chenhao_no1
How does commnad tail implement
How does commnad tail implement ?
Thank you .
Forum: Programming 08-15-2002
23,381
Posted By chenhao_no1
example is blow : #include <stdio.h> ...
example is blow :


#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/socket.h>
...
Forum: Programming 08-06-2002
3,223
Posted By chenhao_no1
1 .I found the answer . 2 .First , I write...
1 .I found the answer .
2 .First , I write another programe .
#include <stdio.h>
#include <string.h>

int main(void)
{
char *p;

p = (char *) malloc(100);

strcpy(p,...
Forum: Programming 08-05-2002
7,586
Posted By chenhao_no1
1 . At first , you should re-compile your...
1 . At first , you should re-compile your prograem with -g option .
2 . run it , if it has produced a core file , you can use dbx(debugger) to find where does the programe coredump.

type the...
Forum: Programming 08-05-2002
3,223
Posted By chenhao_no1
a problem about malloc()
1 . Thanks everyone who read the post.

2 . the programe is that :
#include <stdio.h>
#include <string.h>

void do_it(char *p)
{
p = (char *) malloc(100);

(void...
4,209
Posted By chenhao_no1
please refer to...
please refer to http://docs3.sun.com:8100/?q=CDE+Use
Forum: Programming 07-27-2002
21,451
Posted By chenhao_no1
Where can I download POSIX standard ?
1 . Thanks everyone who reads the post .
2 . I want to know where can I download POSIX standard ,because I want to migrate my programe from Linux to ohter platform .
16,012
Posted By chenhao_no1
thanks
thanks
16,012
Posted By chenhao_no1
How to view a big file(143M big)
1 . Thanks everyone who read the post first.
2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too.
How to view it ?
If I want to view...
3,927
Posted By chenhao_no1
please refer to...
please refer to http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V40D_HTML/AQ0R3FTE/TITLE.HTM chapter 2

or you can type command "uerf" (If you do not know how to use uerf , man uerf...
Forum: Programming 07-24-2002
17,251
Posted By chenhao_no1
thanks .
thanks .
Showing results 1 to 25 of 32

 

Featured Tech Videos

All times are GMT -4. The time now is 07:26 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy