Skip to main content

new problem... no connection beetween peer...

1 reply [Last post]
Joined: 2008-07-28

hi every one i can't connect from two peer with a socket... it doesnt work on a lan and doesnt work on internet... can you help me please.

I attach the code of server and client

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-01-31

Hi Murdok,

The issue is that either your peers should be able to communicate via multicasting or the server should be set as a seed in the client peer. You can find some code examples explaining how to make two peers connect via a socket on a single PC at See the Lidong and Ayrton examples. Don't forget to read the errata if you plan to run those peers from different PC's.