Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 2nd, 2006
Novicius
 
Join Date: September 2nd, 2006
Posts: 4
cxieqi is flying high
Default How to search result in Chinese???

How to search result in Chinese???

I use the src in Eclipse,I want to modi the code,because i want to rearch result in Chinese?what I can do?
Reply With Quote
  #2 (permalink)  
Old September 3rd, 2006
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

There are 4 main things you need to make sure of:

* Make sure Phex accepts Chinese characters in the search term text field. You might need to adjust fonts or have a special JDK or whatever, I dont know exactly.
* Then you need to ensure your text is formatted correctly in UTF8 in the send QueryMsg. I think this is already done, but I never had confirmation about it.
* Now make sure Phex is correctly parsing the formatted data in the returned QueryHitMsg.
* The last thing is to ensure the text is properly displayed in the user interface.

Personally I would start from the end, first ensure you can receive and display query hits and then send out querys. It might be best to test in a local environment with a client that has this already working like maybe Limewire.
__________________
Reply With Quote
  #3 (permalink)  
Old September 3rd, 2006
Novicius
 
Join Date: September 2nd, 2006
Posts: 4
cxieqi is flying high
Default

I mean that i want to connect chinese user only that Using Phex.And not to connect Foreign.

What Can i do?
Reply With Quote
  #4 (permalink)  
Old September 3rd, 2006
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

sorry... my fault... I should read the text before I post

The class Ip2CountryManager is able to tell you the country code of a given IP. Check every IP that gets added to the CaughtHostsContainer and that you connect to if its 'CN'
__________________
Reply With Quote
  #5 (permalink)  
Old September 3rd, 2006
Novicius
 
Join Date: September 2nd, 2006
Posts: 4
cxieqi is flying high
Default

I will wait for you to tell me what can i do? ^_^

Please remember:I want to connect Chinese People only who is using Phex!!!

my MSN (porter_mysec@hotmail.com) can you add me to your friend?

Last edited by cxieqi; September 3rd, 2006 at 08:22 AM.
Reply With Quote
  #6 (permalink)  
Old September 4th, 2006
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

How about simply creating a subnet for china?

What is your exact goal? Do you want to connect many same-minded people in china with Phex, or do you want your Phex to only connect to chinese Phex users?

What are your skills?

The simplest way for the first goal is just to create a private network with the name "Chinese Gnutella Network" and to set up a public first contact.
__________________

-> 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
  #7 (permalink)  
Old September 6th, 2006
Novicius
 
Join Date: September 2nd, 2006
Posts: 4
cxieqi is flying high
Default

i want my phex to only connect to chinese phex users.
Reply With Quote
  #8 (permalink)  
Old September 6th, 2006
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 656
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

Didn't you click on his 'create a private network' link which has a good explanation of how to do it?
Reply With Quote
  #9 (permalink)  
Old September 6th, 2006
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

It only works, if he/she already knows other chinese people.

Do you want to connect to your community of chinese buddies, or do you want to connect to other chinese using phex, whom you do not already know?

(Sorry, that we have to ask that many questions, but it sdoes make a huge difference, and we'd only confuse you to no end, if we try to explain a something you didn't really ask about).
__________________

-> 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
  #10 (permalink)  
Old September 6th, 2006
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 656
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

My misunderstanding. 您 要 连接 以 朋友们 或 汉语 ___ 您 要 作 什么 :redface:

Last edited by Lord of the Rings; September 6th, 2006 at 11:18 AM.
Reply With Quote
Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird search result rushoo Download/Upload Problems 2 September 23rd, 2006 04:28 AM
my search result goes blank???? scorpie79 General Mac OSX Support 2 February 16th, 2006 01:46 AM
adjust search criteria for japanese/chinese smeddy New Feature Requests 1 June 3rd, 2004 12:07 AM
odd Search Result... Unregistered Open Discussion topics 1 September 1st, 2002 03:02 PM
donīt get any search result Unregistered Download/Upload Problems 0 March 22nd, 2002 12:42 PM


All times are GMT -7. The time now is 04:46 AM.


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

Copyright Đ 2020 Gnutella Forums.
All Rights Reserved.