Search Results

Search: Posts Made By: MKSRaja
Forum: Programming 02-25-2005
15,240
Posted By MKSRaja
find free port
how can i find whether the particular port is free among certain port numbers
like 15000 to 30000 before i connect to the server by assigning the port no for the client
Forum: Programming 02-24-2005
1
2,111
Posted By MKSRaja
gets
can any one help me
why do i get the error like
gets function is dangerous and should not be used

while compile a file by gcc filename.c in ret hat linux
Forum: Programming 02-23-2005
3,714
Posted By MKSRaja
pthread
consider if the thread routine returns any void pointer while calling pthread_join,
the thread resources are freed and the thread will be terminated when the main thread is exit ,that is my...
Forum: Programming 02-22-2005
3,590
Posted By MKSRaja
socketpair
what is the difference to use socketpair and socket while socket programming

other than socket create a single socket,socketpair creates a pair of sockets
Forum: Programming 02-05-2005
2
4,585
Posted By MKSRaja
fork()
#include <stdio.h>
#include <string.h>
#include <sys/types.h>

#define MAX_COUNT 200
#define BUF_SIZE 100

void main(void)
{
pid_t pid;
int i;
char ...
Forum: Programming 02-05-2005
3,141
Posted By MKSRaja
fork()
#include <stdio.h>
#include <string.h>
#include <sys/types.h>

#define MAX_COUNT 200
#define BUF_SIZE 100

void main(void)
{
pid_t pid;
int i;
char ...
Forum: Programming 02-05-2005
3,141
Posted By MKSRaja
time quantum
i can't understand the following lines about fork()

Due to the fact that the CPU scheduler will assign a time quantum to each process, the parent or the child process will run for some time before...
Forum: Programming 02-05-2005
4,938
Posted By MKSRaja
system calls vs librery routines
can i know what is the differnece between using librery function and system calls for performing any of the operation like read, write and other operations
Forum: Programming 02-05-2005
3,141
Posted By MKSRaja
thank you
thank you very much for your reply.
Now I could clearly understand the concept about fork,the example you have given is an added advantage to understand the concept very clearly
...
Forum: Programming 02-04-2005
3,141
Posted By MKSRaja
process
how do differentiate a parent process and child process through the process id while it is executing through fork() command.

can i get the process id of both processes and can i do any operation...
Showing results 1 to 10 of 10

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