Re: question about class Socket

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello, wukun!

w> the two code fragments at the end of this letter are from msdn, they
w> work correctly, but can I receive all binary data without depending on
w> the "<EOF>" tag.

Sender must somehow specify that he sent all the data, right?
Sender can either close connection after send is completed or establish some special format of data, that
receiver will understand ( in this case connection can remain opened ).

w> if the client code use method SendFile(),the server receive data
w> correctly, but if the client code send data asynchronously, just like
w> the code in this letter, it doesn't work too. tell me what's wrong.

What do you mean by 'doesn't work too'? Any exceptions, errors?

Describe the problem more precisely...

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Relevant Pages

  • Re: Processs PreciseMail AntiSpam Gateway - any experience so far ?
    ... >> before closing the connection. ... Instead you have the sender picking the port ... if the receiver ESP can make that work. ...
    (comp.os.vms)
  • Re: Nochmals Treeview
    ... private void button1_Click(object sender, System.EventArgs e) { ... private void TabelleAnlegen(string strDBPfad, string strDB, string strTabellenName){ ... OleDbConnection connection = new OleDbConnection; ... OleDbCommand command = new OleDbCommand; ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Woody Sendmail: blacklist_recipients feature not working
    ... Normal mail delivery is working, but I can't get the "blacklist_recipients" ... # Test sender rejection - works OK ... # Test recipient rejection - doesn't work ... Connection closed by foreign host. ...
    (Debian-User)
  • Re: paramiko
    ... the connection ... contents of this e-mail originated from the sender above or that they have ... Management, L.P. and affiliates accepts no responsibility for information, ... please verify the authenticity with the sender. ...
    (comp.lang.python)
  • Re: Remote Desktop Connection does not work
    ... > make this connection? ... > discussion of a similar issue, and would recommend trying the RD client code ... >> connected remote desktop session. ...
    (microsoft.public.windows.server.sbs)