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 October 24th, 2002
Apprentice
 
Join Date: October 24th, 2002
Location: UK
Posts: 5
siulca is flying high
Arrow Director Client connection problem!

I just started developing a client in Macromedia Director.
The client is already able to connect to other servants but for a maximum of around 10 secs only!

My client does not receive any reply from the pings it sends!

Any explanations and/or suggestions to fix this problem would be appreciated.

Thanks in advance.




PS> Any Director Lingo experts around? I could do with some help!
Reply With Quote
  #2 (permalink)  
Old October 24th, 2002
Paradog's Avatar
Distinguished Member
 
Join Date: April 5th, 2002
Location: Germoney
Posts: 739
Paradog is flying high
Default Re: Director Client connection problem!

Quote:
Originally posted by siulca
I just started developing a client in Macromedia Director.
The client is already able to connect to other servants but for a maximum of around 10 secs only!

My client does not receive any reply from the pings it sends!

Any explanations and/or suggestions to fix this problem would be appreciated.

Thanks in advance.




PS> Any Director Lingo experts around? I could do with some help!
You're that Lingo guy again huh?
Your client should send pongs to all incoming pings, if you don't the neighboor usually disconnects.
You can use Shareaza's packet viewer to debug, thats what I used to do.

BUT WHY LINGO
Reply With Quote
  #3 (permalink)  
Old October 24th, 2002
Apprentice
 
Join Date: October 24th, 2002
Location: UK
Posts: 5
siulca is flying high
Unhappy that's why!

Because I como from a multimedia background and Lingo it's one of two languages I am confortable with.

The other one is actionScript.

I wish I knew C
Reply With Quote
  #4 (permalink)  
Old October 24th, 2002
Paradog's Avatar
Distinguished Member
 
Join Date: April 5th, 2002
Location: Germoney
Posts: 739
Paradog is flying high
Default Re: that's why!

Quote:
Originally posted by siulca
Because I como from a multimedia background and Lingo it's one of two languages I am confortable with.

The other one is actionScript.

I wish I knew C
I'm just not sure if Lingo is suitable for a fast Gnutellaclient
or if it would even just work.

I mean I haven't heard from a Office-like program made in Flash.
Its just multimedia eyecandy (Director/Flash)
Reply With Quote
  #5 (permalink)  
Old October 24th, 2002
Apprentice
 
Join Date: October 24th, 2002
Location: UK
Posts: 5
siulca is flying high
Default

BTW that Packet Dump from Shareaza looks quite handy!

Thanks.
Reply With Quote
  #6 (permalink)  
Old October 24th, 2002
Paradog's Avatar
Distinguished Member
 
Join Date: April 5th, 2002
Location: Germoney
Posts: 739
Paradog is flying high
Default

Quote:
Originally posted by siulca
BTW that Packet Dump from Shareaza looks quite handy!

Thanks.
Yeah that thing was called packet dump. Right...
Reply With Quote
  #7 (permalink)  
Old October 24th, 2002
Apprentice
 
Join Date: October 24th, 2002
Location: UK
Posts: 5
siulca is flying high
Default

Probaly you are right and I am wasting my time building the client in Director.

I ahd no problem sending the handshake 0.6 headers and I get replies but when it comes to send a Ping or Pong it doesn't work. I think that's because everything Director sends is a String! And I can't seem to find a way of sending an Array of bytes which forms the Ping, Pong, etc packets.

Conclusion I am stuck and don't know how to get moving.
Reply With Quote
  #8 (permalink)  
Old October 24th, 2002
Paradog's Avatar
Distinguished Member
 
Join Date: April 5th, 2002
Location: Germoney
Posts: 739
Paradog is flying high
Default

Quote:
Originally posted by siulca
Probaly you are right and I am wasting my time building the client in Director.

I ahd no problem sending the handshake 0.6 headers and I get replies but when it comes to send a Ping or Pong it doesn't work. I think that's because everything Director sends is a String! And I can't seem to find a way of sending an Array of bytes which forms the Ping, Pong, etc packets.

Conclusion I am stuck and don't know how to get moving.
Yeah, strings and plain messages work,
but I guess the types like Byte, Integer, Endian and that stuff
arent well covered.

Really you should learn some other "real" languages.
I've been coding a VB client, I too wish I could code C
Reply With Quote
  #9 (permalink)  
Old October 25th, 2002
Apprentice
 
Join Date: October 24th, 2002
Location: UK
Posts: 5
siulca is flying high
Default learning C or C++

Which pakage would the experts recommend to learn C?

Should I start with C or C++?
Reply With Quote
  #10 (permalink)  
Old October 25th, 2002
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Start with Java to learn the the OO concepts and the basic syntax (syntax is only little different from C/C++ ). Then go to C++.
Going directly to C++ often causes that you start using bad OO programing concept to solve difficult things.
Better you start thinking OO right away thats why I would not recommend starting with C.

Gregor
__________________
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
Any Form of Gnutella Client kills internet connection nickciv3 General Gnutella / Gnutella Network Discussion 9 June 13th, 2006 04:41 PM
Client to Client Encryption lyonadmiral New Feature Requests 1 February 1st, 2006 05:55 AM
How do I add title, director, year etc to my movies? rebeccakohl Open Discussion topics 4 December 11th, 2004 03:42 PM
gNutella for Macromedia Director or Flash Unregistered Open Discussion topics 2 October 23rd, 2002 09:38 AM
Search problem with 2.2.0 client Unregistered LimeWire Beta Archives 1 February 17th, 2002 03:33 PM


All times are GMT -7. The time now is 11:38 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.