Delphi and Socket Error 10022
- From: "Steve" <some@xxxxxxxxxxxxx>
- Date: Wed, 25 Oct 2006 10:53:46 +0100
Lo All
Within a service application, I create a socket component (based upon
OverByteICWSWSocket), assign an IP Address and port and connect to a server.
All's fine.
However occasionally I get "Error 10022 WSAAsyncSelect", which apparently is
to do with invalid arguments. However, the arguments have not changed - the
socket is created in response to a timer being fired. The parameters
supplied to the socket are the same each time. I cannot see what could be
changing to cause this error.
The socket is created within a thread, but it all takes place within critcal
sections. There is only ever one thread.
Any help would be gratefully appreciated.
Thanks
BTW Delphi 7 Prof, WinXP (Sp2)
.
- Follow-Ups:
- Re: Delphi and Socket Error 10022
- From: Jamie
- Re: Delphi and Socket Error 10022
- Prev by Date: Re: Textbook recommendation
- Next by Date: Create ODBC with SQLConfigDataSource to Excel-file
- Previous by thread: ListView
- Next by thread: Re: Delphi and Socket Error 10022
- Index(es):
Relevant Pages
|