Thread: Winsock working only for 127.0.0.1 Cant connect to other PCs

  1. #1
    Unregistered
    Guest

    Winsock working only for 127.0.0.1 Cant connect to other PCs

    Hi, I wrote a chat program using Winsock. I can manage to send messages to myself using the IP address 127.0.0.1, but when I try with a PC that is on my LAN it doesnt work. Have any ideas why?

    Thx in advance!!!

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    A firewall maybe?? Or maybe that isn't a used ip address.

  3. #3
    Unregistered
    Guest
    Sorry, dumb one. I wasnt using INADDR_ANY in the address field for the server.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. winsock help
    By Anubis208 in forum C++ Programming
    Replies: 1
    Last Post: 03-05-2008, 07:46 AM
  2. Replies: 8
    Last Post: 01-18-2008, 04:06 AM
  3. Where do I initialize Winsock and catch messages for it?
    By Lithorien in forum Windows Programming
    Replies: 10
    Last Post: 12-30-2004, 12:11 PM
  4. weird winsock output and winsock 2 not working
    By whackaxe in forum Networking/Device Communication
    Replies: 4
    Last Post: 07-09-2004, 11:10 AM
  5. win32 Winsock problem
    By spoon_ in forum Windows Programming
    Replies: 3
    Last Post: 07-19-2002, 01:19 AM