S
Serdar C.
hi there i just write a program works like a telnet client (with
AsyncCallback)....
everything works fine but i have a problem with packets received...
i set the received packet size to 32768 ( byte[] incoming = new
byte[32768] )
and then i tried to connect to a pop3 server...
i logged in with user and pass cmomands
and then i types "list" cmomand which lists all the mails in my mailbox with
their filesize..
my problem just starts here that i get random parts of the output of this
command
i.e sometimes i get the full list of mail, sometimes i get the first 150 of
the mail list (i had abut 370 mails in my mailbox..) sometimes i get the
parts between random numbers (like 150 to 240), etc.. so i cannot write an
automated program cuz i get random outputs and i have to try again and
again till i get all the list at once... what am i doing wrong? is it about
message size? i tried to set it to 1024 bytes or others sizes but it didnt
work...
thanx for spending your time to read this and helping.. have a nice day.
AsyncCallback)....
everything works fine but i have a problem with packets received...
i set the received packet size to 32768 ( byte[] incoming = new
byte[32768] )
and then i tried to connect to a pop3 server...
i logged in with user and pass cmomands
and then i types "list" cmomand which lists all the mails in my mailbox with
their filesize..
my problem just starts here that i get random parts of the output of this
command
i.e sometimes i get the full list of mail, sometimes i get the first 150 of
the mail list (i had abut 370 mails in my mailbox..) sometimes i get the
parts between random numbers (like 150 to 240), etc.. so i cannot write an
automated program cuz i get random outputs and i have to try again and
again till i get all the list at once... what am i doing wrong? is it about
message size? i tried to set it to 1024 bytes or others sizes but it didnt
work...
thanx for spending your time to read this and helping.. have a nice day.