Autor Beitrag
ScorpionKing
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: So 05.02.06 17:44 
Hi Leute,
zu erst einmal: Das Programm bei dem es schwierigkeiten gibt, ist in C++ gecoded, ich frage aber hier nach, weil man hier eigentlich sehr gute Antworten bekommt. Ich habe ein Tool geschrieben, welches etwas über Sockets sendet, jetzt kommt aber immer der Socket Error 10004. Was bedeutet dieser Error?

MfG, ScorpionKing!

_________________
Aus dem Urlaub zurück!
afk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 102

Win 2K, Win XP
Delphi 2006 Arch., Delphi 6 Ent., MS-SQL 2005 & 2000
BeitragVerfasst: So 05.02.06 18:42 
Socket Error 10004 = WSAEINTR "Interrupted function call."

Das heißt, eine noch laufende "blocking operation", sprich ein Winsock-Funktion, die den Thread bis zum Abschluß ihrer Aufgabe blockiert, wurde durch den Aufruf von "WSACancelBlockingCall" unterbrochen. Das kann z.B. auch durch das Schließen des Sockets aus einem anderen Thread heraus geschehen.

Gruß Axel

_________________
Man muß sparn wo mn knn !
ScorpionKing Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: So 05.02.06 20:21 
Kann es sein, dass das eine Firewall ist. Ich habe Norton Internet Security.

Wie kann ich das trotzdem zum Laufen bekommen?

MfG, ScorpionKing!

_________________
Aus dem Urlaub zurück!
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 05.02.06 20:54 
Indem du deiner Firewall sagst, dein Programm nicht zu behindern? :roll:

Bei mir meldet sich ZoneAlarm immer und fragt nach, ob diesem Programm der Internet-/Netzwerkzugrif gestattet oder verweigert werden soll.

Oder geht das jetzt am Thema vorbei? :gruebel:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
ScorpionKing Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: So 05.02.06 21:08 
Ich habe meinem Programm schon den Zugang zum Net erlaubt, also daran kanns nicht liegen!

_________________
Aus dem Urlaub zurück!