[IronPython] (no subject)
Процышин Дмитрий
foxpdll at comch.ru
Fri Sep 10 12:37:17 CEST 2004
Hello users-ironpython.com,
had this
why exeptions rised?
what type of RecvBytes neded for normal work?
from System import *
from System.Text import *
from System.IO import *
from System.Net import *
from System.Net.Sockets import *
RecvBytes="*"1024
print RecvBytes.Length
s = Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
hostInfo = Dns.Resolve("mail.ru")
for curAdd in hostInfo.AddressList:
print curAdd.ToString()
hostEndPoint = IPEndPoint(curAdd, 110)
s.Connect(hostEndPoint)
print s.Receive(RecvBytes, RecvBytes.Length, 0)
Best regards,
Процышин Дмитрий (системный администратор)
ЗАО "Коминком черноземье"
512-125
8-905-65-66-927
icq 49606850
Процышин Дмитрий
foxpdll at comch.ru
2004-09-10
More information about the Ironpython-users
mailing list