Wrox Programmer Forums
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 21st, 2007, 10:10 AM
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default peer to peer

hii
I am new to socket programming. I am doing a project on peer to peer connections. I will need to store the machine names and port numbers of all the peers, in a server to which they are connected through sockets. Is there a way of retrieving the machine name and port number and passing them to the server??
 
Old February 27th, 2007, 12:49 PM
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's been almost a week and I have found no answer...It's ok....I found these methods for the same
getHostName() and getPort()






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write peer to peer file sharing program ethiosoul Visual Studio 2005 1 March 16th, 2008 05:02 PM
P2PML - Peer-to-Peer Markup Language mlauzon XML 0 November 2nd, 2007 11:16 AM
peer to peer file sharing app in C++/linux blehjutsu C++ Programming 0 March 14th, 2007 06:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.