Unable to establish client - server connection in my network
<p>i used  a basic python client and server script to emulate client and server example in my network .
In the server side i ran this script :</p>

<pre><code># UDP server example
import socket
server_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
server_socket.bind(("", 5000))
print"UDPServer Waiting for client on port 5000"
while 1:
 data, address = server_socket.recvfrom(256)
 print "( " ,address[0], " " , address[1] , " ) said : ", data
</code></pre>

<p>and ran the client script in another system :</p>

<pre><code># UDP client example
import socket
client_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
while 1:
 data = raw_input("Type something(q or Q to exit): ")
 if (data &lt;&gt; 'q' and data &lt;&gt; 'Q'):
     client_socket.sendto(data, ("localhost",5000))
 else:
     break
client_socket.close()
</code></pre>

<p>in the client script instead of localhost i wrote the IP of my server system .  still no signs of connection . Is something i am doing wrong in here ? </p>
