473,503 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating socket programs as daemon

Hello,
I have UDP socket programs. I want to run server socket on
one machine and client socket on another and viceversa.
How can i create a flexibility at each system so that it will not only
listen from client socket but will also communicate to another server
socket.
For that i think it require me to make both programs daemon so that
they will run as backgroung hidden process.
How to do that on redhat linux 9 machnes with i386 arch?
Nov 14 '05 #1
2 2583

kernel.lover wrote:
Hello,
I have UDP socket programs. I want to run server socket on
one machine and client socket on another and viceversa.
How can i create a flexibility at each system so that it will not only listen from client socket but will also communicate to another server
socket.
For that i think it require me to make both programs daemon so that
they will run as backgroung hidden process.
How to do that on redhat linux 9 machnes with i386 arch?


Ah cute. A script kiddie. Dude, rootkit != hard. It's installing the
kit that is hard...

Tom

Nov 14 '05 #2
On 2 Mar 2005 18:53:52 -0800, cr**********@gmail.com (kernel.lover)
wrote in comp.lang.c:
Hello,
I have UDP socket programs. I want to run server socket on
one machine and client socket on another and viceversa.
How can i create a flexibility at each system so that it will not only
listen from client socket but will also communicate to another server
socket.
For that i think it require me to make both programs daemon so that
they will run as backgroung hidden process.
How to do that on redhat linux 9 machnes with i386 arch?


Ask in news:comp.os.linux.development.apps. This is a Linux issue,
not a C language one.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2089
by: John Burton | last post by:
I wrote a python program on windows which needs to listen for connections on a low numbered port which works fine on windows but on linux you need to be *root* in order to listen for connections on...
11
6797
by: Mike M | last post by:
Is it possible? In the parent process, I have a socket that binds, listens and then accepts new connections (which creates new sockets in the process). I want to be able to pass some of these new...
3
7584
by: Obi-Wan | last post by:
I'm trying to write a daemon in C that runs under (x)inetd that communicates over UDP. I'm trying to write a simple DNS server that returns the same IP for every query it receives. Things work...
0
960
by: Mike Levine | last post by:
I have a small server daemon running on a unix-like system, the socket for the server is a SOCK_DGRAM, the protocol is ETH_DISCO_P (defined by me). I want to be able to broadcast messages to this...
1
2712
by: Ismail Demiralp | last post by:
Hi, I want to open a permanent socket connection to a service witch is running on the same computer. After I logged in on my php page, I start a session. After this a socket connection should...
9
9116
by: Sakagami Hiroki | last post by:
Hi, What is the easiest way to create a daemon process in Python? Google says I should call fork() and other system calls manually, but is there no os.daemon() and the like? Regards, --...
0
2407
by: doc | last post by:
Hi Hard to know where to post this and I don't want to double post it - please move it if you need to, I am trying to connect a Flash client socket (XML) to a php socket server (using Flash 8 and...
3
3401
by: doc | last post by:
What will a flash xml client socket connect to? I have a working php TCP/IP server socket bound to a port >1023 and the flash client will not even connect to it. I can connect to it with non-xml...
4
3016
by: bartosz.zaleski | last post by:
Hi I am running the PHP Socket Server: #!/usr/bin/php -q <?php error_reporting(E_ALL); set_time_limit(0); ob_implicit_flush();
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
382
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.