[IronPython] fepy socket seek

Christopher Baus christopher at baus.net
Wed Nov 15 06:36:50 CET 2006


I found a problem with the fepy socket module.  Seek operations aren't
supported, but they are supported in CPython (not totally sure how they do
that).

Here's an example.

import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("baus.net", 80))
file = s.makefile('wb', 1500)
file.write("%s %s %s\r\n" % ("HTTP", "GET", "/"))






More information about the Ironpython-users mailing list