Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Search Today's Posts Mark Forums Read

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 15th, 2007
Novicius
 
Join Date: November 15th, 2007
Posts: 3
cmaeschig is flying high
Default Simple Client

Hi!

I'm still looking for a very simple and basic example on how to setup a client, which simply serves a few files (without gui, without the rest of the functionality ....). Could anyone please help?
Thanks a lot in advance,

Christoph
Reply With Quote
  #2 (permalink)  
Old November 16th, 2007
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

As of now, there's an example how to start phex without gui.

Advanced Questions - PhexWiki

java -Xmx512m -Djava.awt.headless=true -jar phex.jar

This is a Java feature and still needs an xserver, since some java classes depend on it, but it doesn't need to have a display and can be run serverside.

You can setup the sharing diretory directly in the config files, and you can also switch from headless to full gui by just starting Phex differently (with the normal starting command).

Everything else should be a matter of stripping code.

Besides: The Phex subversion repository contains a shell script which builds and runs phex headless:
build-and-run-headless

How to get the code: Subversion - PhexWiki

Besides (2): We'd be glad, if you'd work in our public subversion repository (in a branch), so we can easily transfer those changes which would also benefit the mainline client.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #3 (permalink)  
Old November 16th, 2007
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Besides (3): Our main programmer (GregorK) works on improving the Phex API, so it can be used more efficiently for other means but plain filesharing.

If you like to, you can have a look at our usecases for an API ( Concepts - PhexWiki ), where we created some possible uses for Phex, and we'd be glad if you could add your own.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.