-3

I am Developing a chat system that consists of multiple clients and a server.

The clients should discover the server by sending a broadcast message, which the server will respond to, sending back to the client it's IP and port.

The problem is when I connect to the internet using a USB stick (USB modem), the broadcast message is sent by the client, but the server could not send information back to the client.

Is there any way to limit the chat program to a specified network interface?

Does anybody have any other suggestions?

forsvarir
  • 10,749
  • 6
  • 46
  • 77
  • 1
    So do you have a setup in which it works, and another setup in which it doesn't work? Please describe both setups in detail, and then pinpoint the difference. Please describe how the server and the client are connected to the internet. Please use well-formed English sentences with punctuation. – pts May 14 '11 at 13:25

1 Answers1

1

You can use Wireshark to look at the network traffic. That could help you troubleshoot this situation.

http://www.wireshark.org/

Warpin
  • 6,971
  • 12
  • 51
  • 77