Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 1st, 2002
Apprentice
 
Join Date: February 22nd, 2002
Location: India
Posts: 9
abhiexx is flying high
Default is a server thread necessary now ?

hi !
i am coding a gnutella clone....i have got to the ping part....ha...don't laugh........every dog has his day..:-))....i am running bearshare...and sending it a ping packet...and expecting it to reply....i am getting none...the bearshare console reports....connection closed because of handshake timeout.....do i have to start a server thread in the background just to test ping ??? cause as u must have guessed i am pretty lazy .....seriiously speaking help will be appreciated.
Reply With Quote
  #2 (permalink)  
Old March 2nd, 2002
Moak's Avatar
Guest
 
Join Date: September 7th, 2001
Location: Europe
Posts: 816
Moak is flying high
Default

basically: yes

Highly depends on your software architecture. Do you want an GUI/UI (grafical user interface), do you use an asynchronous network structure (which does already spawn threads for you), which programming language and OS (operating system) do you target at? Being lazy is a good thing, I'm too, perhaps you need to give more information to help you.
Reply With Quote
  #3 (permalink)  
Old March 2nd, 2002
Apprentice
 
Join Date: February 22nd, 2002
Location: India
Posts: 9
abhiexx is flying high
Default hi again !

hey moak !
i solved the problem regarding bearshare not ponging me back.....basically i was using 2 separate threads ..on for the handshake and the other for the ping ...and that was probably the dumbest thing i did in my life....maybe i was listening to much rock....:-O or maybe my thinking was getting disturbed by the
relentless....rebooting and the exception throwing on win9x machine....gawd...i wish i could do it in Linux...!

Anyways as advised by his excellency moak starting work on the server thread.....as u might have guessed...using a synchronous. architecture...with blocking threads...MFC and the win32 api.!

1 Gb of thanks :-) and hopefully no more dumb messages from me
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
First thread! trap_jaw4 FrostWire 20 October 10th, 2005 12:28 AM
first thread Joey16661 Open Discussion topics 0 May 21st, 2005 02:19 AM
cannot respond to clients from my server thread . Unregistered General Gnutella Development Discussion 6 April 24th, 2002 01:17 AM


All times are GMT -7. The time now is 03:34 PM.


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.