Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Gtk-Gnutella (Linux/Unix)
Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read


Welcome to Gnutella Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.



Once registered but before posting, members MUST READ the FORUM RULES (click here) and LimeWire/FrostWire users should include System details - help us to help you (click on blue link) in their posts if their problem relates to using the program. Whilst forum helpers are happy to help where they can, without these system details your post might be ignored. And wise to read How to create a New Thread

Thank you

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 23rd, 2007
Junior Member
 

Join Date: October 18th, 2007
Posts: 1
grakeshmadhav is on a distinguished road
Default Gnutella p2p socket programing

HI all,
can i get gnutella related socket and server programing source code files in C lang.
i require code for functions to

1. int startServer(ushort * serverport, int wildip)
// 2. int connectToHost(char *nhost, ushort nport, int byip, IPAddr ipaddr)
// 3. int acceptConnect( int serversock)
// 4. IPAddr getOwnIpAddress(int sock) // own ip address
// 5. IPAddr getPeerIpAddress(int sock) // own ip address
// 6. char * getPeerName(int sock, ushort * peerport)
// 7. IPAddr strtoipaddr(char *str)
// 8. char *ipaddrtostr(IPAddr adr)


and


1. Descriptor * buildQueryHitDescriptor(Host * host, Result resultset[], int count, Descriptor * querydesc)
// 2. int sendDescriptor(Host* host, Descriptor * desc, int sock)
// 3. Descriptor * rcvDescriptor(int sock)
// 4.int searchDirectory(Host * host, Result rset[], char * search_string )
// 5.int scanDirectory(Host * host, Result rset[])
// 7. void httpFileUpload(int sock,char* folder)
// 8. int httpFileDownload( int sock, char * file_name, char * folder)

These are the functions i need to fill up with the available parametres in the function prototype.
Please help me asap
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 11:37 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Copyright © 2007 Gnutelliums LLC.
All Rights Reserved.