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 April 9th, 2002
Novicius
 
Join Date: April 9th, 2002
Posts: 1
patricio is flying high
Question Sockets, C and gnutella

Hi, im Patricio from Argentina. I´m student of National Technology University, But I´ve a problem. In his code:

if((iSockCli=socket(AF_INET,SOCK_STREAM, xxxx))==-1)


in "xxxx" what i shoud write for identifier to Gnutella protocols?



excuse me, i can´t speak english very well.
thanks
Reply With Quote
  #2 (permalink)  
Old April 11th, 2002
Unregistered
Guest
 
Posts: n/a
Default

The answer is <b>0</b>.
Reply With Quote
  #3 (permalink)  
Old April 26th, 2002
Unregistered
Guest
 
Posts: n/a
Red face

Hola,
yo también soy un estudiante de la UTN (FRBA) de Argentina.
La pregunta que hiciste es demasiado básica y no pertenece a
este foro sino a uno de sockets y de un nivel principiante. Por favor investiga el tema antes de preguntar.

Hi, i´m a student from Buenos Aires, Argentina too.
(National Technology University (U.T.N.))
The question is too basic for this forum.
Please investigate before ask.
thanks.
Reply With Quote
  #4 (permalink)  
Old April 26th, 2002
Disciple
 
Join Date: April 3rd, 2002
Posts: 10
Cerebro is flying high
Default

Bueno, creo que estamos todos. ¡Saludos a Neetzel!

Realmente es una pregunta muy básica. Preferentemente entrá al foro de www.sistemasoperativos.com.ar

No lo tomes a mal, es sólo por el bien de todos.

Sorry about my spanish. I just say hi.
Reply With Quote
  #5 (permalink)  
Old May 30th, 2002
Novicius
 
Join Date: May 30th, 2002
Location: Argentina
Posts: 1
mjpacin is flying high
Default

Hola, Patricio.

Me llamo Maria Jose y tambien curso sistemas operativos en la UTN.

Mira, el tercer parametro de la funcion socket, te permite elegir el protocolo, pero todavia no hay una constante en linux para GNUtella. Por lo tanto te conviene escribir 0 y dejar que el SO se encargue de seleccionar por vos, el mas adecuado.

Saludos, cualquier cosa, podes preguntarme fuera del foro.
Reply With Quote
  #6 (permalink)  
Old May 31st, 2002
Unregistered
Guest
 
Posts: n/a
Default

Gnucleus is open source, you can look that code over for any info you need. Been there, done that, please don't spend your time re-writing what has already been written.
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
What posts belong in this General Gnutella / Gnutella Network Discussion section! Lord of the Rings General Gnutella / Gnutella Network Discussion 0 November 17th, 2005 05:54 AM
Sockets GaryM Support: General 1 August 27th, 2002 01:04 PM
Question on Gnucleus sockets, STL Kaom Gnucleus (Windows) 2 August 20th, 2002 12:08 PM
Sockets close loStHead General Gnutella Development Discussion 9 June 4th, 2002 04:30 PM
Sockets accumulating Unregistered Connection Problems 0 September 14th, 2001 08:14 PM


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