Christopher Baus wrote:

> 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", "/"))

where's the seek ?

the second argument to makefile is the requested buffer size.

</F>
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to