Connect to server / socket


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Connect to server / socket

  1. #1
    Join Date
    Feb 2005
    Posts
    3

    Connect to server / socket

    Hey.

    I hope someone can point me in the right direction.
    If I was to create a client/server application, where all the clients acted like servers, so that all clients could connect to eachother, in a p2p sort of way,
    how could I get the real IP address of the clients if they're behind a shared internet access. Like a router whith several clients connected to the internet thru the same ISP IP?

    I am currently working on this, in VB.NET, and it works within the Local Network using the local IP addresses, but what if one of the clients should be connected to from another client from an outside network, thru the internet?

    I don't see how I can accomplish this. Hope someone can help.

  2. #2
    Join Date
    Nov 2004
    Location
    Oslo
    Posts
    73
    I'm not an expert on this field, but I was able to write a socket solution some time ago using this book which I recommend strongly:

    Richard Blum, "C# Network Programming"

    Don't let the C# scare you. The things you are looking for are in the framework and there isn't any difference between C# and VB there.
    oes

  3. #3
    Join Date
    Feb 2005
    Posts
    3
    thanx.. I will have a look at it.
    I have read a lot of books on .Net , but never one that explains what I'm looking for.

    Thank you for your reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center