![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| General Gnutella Development Discussion For general discussion about Gnutella development. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 |
![]() |
|
|
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 |