View Single Post
  #1 (permalink)  
Old November 9th, 2003
kakwanda kakwanda is offline
Novicius
 
Join Date: November 9th, 2003
Location: Tampa, FL
Posts: 1
kakwanda is flying high
Default File Transfer initiation

Hello, I am working on a servent so I can practice working with C and WinSock. Could someone comment on my assumptions below:

If someone wants to initiate a file transfer of one of my files, do they send the GET header to port 6346(the port my servent is using for incoming connections) and then I transfer the file to the port number the other servent used to communicate with me? And if my assumption is correct, then the servent initiating the transfer must connect to me on port 6346, but it doesn't send the GNUTELLA CONNECT string, just the GET? If I receive a message from a computer not on my list of connected nodes, I do a string comparison and see if the message is a GET?

Thanks for the help!
Reply With Quote