Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
programming C++ Bittorrent client! Have some questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Gnanus
n00b
n00b


Joined: 26 Jan 2004
Posts: 2

PostPosted: Sat Jul 09, 2005 8:48 am    Post subject: programming C++ Bittorrent client! Have some questions Reply with quote

Hi @ all!
i'am planning to programm a orignal bittorrent compatible bittorrent client in C++
using the libtorrent lib because the first orginal client was written in phython an uses
a lot of cpu ,mem ressources .
This will be my first programm for linux only programmed for Windows before.



So here my question :

I know how to get a process list in Linux but what is the linux way to suppmit messages
to a running process an how do i check if a process is allready running ???

I am also habby about any other tipps howtos links that explain how to programm a
clean multithreadet deamon or server application.

My problem is the communication between client (user console / or other programm ) and server .
What ist the way of talking between two programms at linux ??

At windows I knew the RPC interface from MS but under linux ......

Thanks to all

Gnanus


P.S The programm is going to be under the GPL or BSD License.
Back to top
View user's profile Send private message
aidy
l33t
l33t


Joined: 07 Apr 2005
Posts: 915

PostPosted: Sat Jul 09, 2005 9:08 am    Post subject: Reply with quote

Maybe you should buy yourself a book you know... Try 'Beginning Linux programming' I'ts being recommended by the forum people. And probably soon by me too, if it ever arrives.

Last edited by aidy on Sat Jul 09, 2005 4:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Sat Jul 09, 2005 2:49 pm    Post subject: Reply with quote

http://www.tldp.org/LDP/tlk/kernel/processes.html

you can get a list of processes from "ps aux"
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
Gnanus
n00b
n00b


Joined: 26 Jan 2004
Posts: 2

PostPosted: Sat Jul 09, 2005 6:31 pm    Post subject: Reply with quote

Thanks @ GentooBox this is a very interessting link ;-)
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Phoenix, AZ USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Sat Jul 09, 2005 8:08 pm    Post subject: Reply with quote

Moved from Off the Wall to Duplicate Threads.

This should have gone to Portage and Programming originally but it's a duplicate of at least 100 other threads.

Here's the first that came up on the list when I searched:

https://forums.gentoo.org/viewtopic-t-355779-highlight-c+tutorial.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum