www.webdeveloper.com
Results 1 to 6 of 6

Thread: Local connection

Threaded View

  1. #1
    Join Date
    May 2007
    Location
    Sweden
    Posts
    123

    Exclamation Local network connection

    Hey

    I read a book, years ago, about Java. One of the last chapters was about how to create connections and send/reveice messages between a computer and a server.

    Now I need to create a connection between two computers in the same network (peer to peer, or what is it called). The examples in the book used java.net.MulticastSocket to create a connection to a server. When I try the same with my second computer (connected in same network), I get a UnknownHost-exception.

    Does anybody know how to create a connection between two computers in same network?
    I would like to know how to send and receive messages/bytes too.



    Thanks in advance
    Totte
    Last edited by Totte_ch; 01-01-2009 at 02:35 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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



Recent Articles