BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to use TRawSocket

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
fju
Guest





PostPosted: Mon Oct 20, 2003 6:23 am    Post subject: How to use TRawSocket Reply with quote




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





PostPosted: Mon Oct 20, 2003 9:58 am    Post subject: Re: How to use TRawSocket Reply with quote




"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





PostPosted: Thu Oct 23, 2003 2:23 am    Post subject: Re: How to use TRawSocket Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.