[Tutor] PyDtls

2013-03-26 Thread Mousumi Basu
I have installed PyDtls from the link:-" https://pypi.python.org/pypi/Dtls/0.1.0";. While creating the server and client objects in "sslconnection.py", it is referring to "x509.py" for certificates. Following error is occurring :- File "C:\dtls\Dtls-0.1.0.sdist_with

[Tutor] Socket Programming

2013-04-05 Thread Mousumi Basu
I want to perform bind function for socket programming between two computers of ip addresses- 172.18.2.11 and 172.18.2.95 using the following command(on the computer having IP address 172.18.2.95): s=socket.socket(socket.AF_INIT,socket.SCK_DGRM)) s.bind(('172.18.2.11',8032)) But error is occurri

[Tutor] Socket Programming

2013-04-08 Thread Mousumi Basu
I want to perform binding between two computers having ip addresses 172.18.2.11 and 172.18.2.95.So i wrote the following code(on the computer having IP address 172.18.2.95):- import socket import sys s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) try: s=s.bind(('172.18.2.11',2213)) pr