i'm having a strange problem in socket-programming. I'm writing a
small program using UDP, connecting to an echo server. everything
works fine as long as i do not try either 'localhost' or '127.0.0.1'
as target. if i use my own ip, a connection is established and i am
getting correct replies. in case of localhost and 127.0.0.1 as targets
i get the error 'connection refused' ... ??
is there anything special about network programming for this case? i
can connect to eavery echo server i can find in the net, even to the
server running on my own machine, as long as i use the networkwide ip
i hope somebody can help me..