Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 12 Online
OpenStudy (anonymous):

i want to implement multicast using python can anyone tell me how can i get information on socket programming in python?

OpenStudy (anonymous):

http://docs.python.org/library/socket.html and http://twistedmatrix.com/documents/current/core/howto/index.html are both good resources. Twisted in highly recommended as an asynchronous programming api.

OpenStudy (anonymous):

thanks

OpenStudy (anonymous):

can you expalin the later one in a brief manner ? i m a beginner in python

OpenStudy (anonymous):

i have one code of client and server where there can be multiple clients and one server clients can send data to server and server can receive data from them i want to implement multicast where server can send data to clients (more than one ) can each clients receive data at the same time i have certain change to that client server program but it gives me an error

OpenStudy (anonymous):

i got this error C:\Python27>python multiserver.py Traceback (most recent call last): File "multiserver.py", line 8, in <module> UDPSock.bind(addr) File "C:\Python27\lib\socket.py", line 224, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 10048] Only one usage of each socket address (protocol/netw ork address/port) is normally permitted i don't know what UDPSock.bind(addr) does addr is a tuple addr=(host,port)

OpenStudy (anonymous):

in UDP terms, binding to an address allows you to either send datagrams from that address, or to receive datagrams others send to that address. For more info about these terms, read "Beej's guide to network programming" available in many translations http://beej.us/guide/bgnet/

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!