On 6/22/2012 2:01 PM, Bob Tanner wrote: > Asking here as I cannot find any mailing list or new group for pythond. > > Looking for a reason why pythond under FreeDOS does not support the > icmp protocol. > > PythonD 2.4.2r1 for DJGPP [GCC 3.3.2] on ms-dos5 >>>> import socket >>>> socket.getprotobyname("icmp") > Traceback (most recent call last): > File "<stdin>", line 1, in ? > socket.error: protocol not found >>>> socket.getprotobyname("udp") > 17 > > Is this limitation in PythonD or FreeDOS? > > Thanks. >
I'm not familiar with djgpp under DOS, but it looks like it is using WATTCP32 for the networking support. It's possible that WATTCP doesn't give access to it's ICMP layer. Mike ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user