Einzelnen Beitrag anzeigen

Benutzerbild von Meflin
Meflin

Registriert seit: 21. Aug 2003
4.856 Beiträge
 
#11

AW: Probleme mit Datenempfang über asynchronen Socket

  Alt 11. Sep 2010, 11:24
Schau dir mal InternetPack an (opensource Library für .NET von RemObjects). Da ist das Handling von so Sachen einfacher.
habe jetzt in den Newsgroups auch noch das hier gefunden:
Zitat:
Internet Pack is designed based on the synchronous communication model -
where your code will block until it receives data and then handles it -
rather then asynchronously waiting for events. to get a line of data, simply
call the Readline() method of your connection, it will block and receive a
full line of text, terminated by a (CR)LF. (or it will timeout, if timeuts
are configured to apply)
Klingt jetzt nicht so direkt nach der Richtung, in die ich gehen möchte (Und Line Based bringt mir auch absolut nichts, da es das nicht ist)
Leo S.
  Mit Zitat antworten Zitat