 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
fju Guest
|
Posted: Mon Oct 20, 2003 6:23 am Post subject: How to use TRawSocket |
|
|
Hi, all:
I wish to use the raw socket to receive the IP data packet in delphi. I
found a class named TRawSocket but I can not use it smoothly. It always
report 10022. Would you please show me some examples for the TRawSocket?
Thanks.
--
Best Regards.
Jufei
Tel: 0571-85914862, 0571-88862342-6412
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Oct 20, 2003 9:58 am Post subject: Re: How to use TRawSocket |
|
|
"fju" <fju (AT) utstar (DOT) com> wrote
| Quote: | It always report 10022.
|
WSAEINVAL
(10022)
Invalid argument.
Some invalid argument was supplied (for example, specifying an invalid level
to the setsockopt function). In some instances, it also refers to the
current state of the socket - for instance, calling accept on a socket that
is not listening.
Gambit
|
|
| Back to top |
|
 |
fju Guest
|
Posted: Thu Oct 23, 2003 2:23 am Post subject: Re: How to use TRawSocket |
|
|
Hi Gambit
Thanks.
--
Best Regards.
Jufei
Tel: 0571-85914862, 0571-88862342-6412
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote
| Quote: |
"fju" <fju (AT) utstar (DOT) com> wrote in message
news:3f937f68$1 (AT) newsgroups (DOT) borland.com...
It always report 10022.
WSAEINVAL
(10022)
Invalid argument.
Some invalid argument was supplied (for example, specifying an invalid
level
to the setsockopt function). In some instances, it also refers to the
current state of the socket - for instance, calling accept on a socket
that
is not listening.
Gambit
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|