Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

INVALID_SOCKET (10043)

2 views
Skip to first unread message

Gandalf

unread,
Jan 8, 2004, 1:56:19 PM1/8/04
to
I've a problem when execute this
int s=socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP)

i got an error of INVALID_SOCKET due of a WSAEPROTONOSUPPORT error (10043).
Could someone explain me the cause of this error?
I'm using Windows XP Professional SP1.


John McCabe

unread,
Jan 13, 2004, 5:23:03 AM1/13/04
to

Probably not the right place to ask, but you could try SOCK_RAW
instead of SOCK_DGRAM, or WSASocket() instead of socket().

Best Regards
John McCabe

To reply by email replace 'nospam' with 'assen'

0 new messages