Search found 7 matches

by mercan001
Sat May 11, 2019 8:50 am
Forum: General Discussion and Questions
Topic: SOCK_RAW and ICMP
Replies: 0
Views: 2075

SOCK_RAW and ICMP

Hi,
Why there have no raw socket implementation at current upy firmware? And how can I send little data with ICMP (to network)?
Thank you in advance for your answers.
I am using esp8266 and my pcOs is Win7.
by mercan001
Mon May 06, 2019 7:18 am
Forum: ESP8266 boards
Topic: OSError: [Errno 22] EINVAL, socket.SOCK_RAW
Replies: 9
Views: 9446

Re: OSError: [Errno 22] EINVAL, socket.SOCK_RAW

I guess i will learn another programming language for esp. It will be the fourth language. ;)
by mercan001
Mon May 06, 2019 7:12 am
Forum: ESP8266 boards
Topic: OSError: [Errno 22] EINVAL, socket.SOCK_RAW
Replies: 9
Views: 9446

Re: OSError: [Errno 22] EINVAL, socket.SOCK_RAW

These linux and macOS operations i don't know linux.
by mercan001
Sun May 05, 2019 6:44 pm
Forum: ESP8266 boards
Topic: OSError: [Errno 22] EINVAL, socket.SOCK_RAW
Replies: 9
Views: 9446

Re: OSError: [Errno 22] EINVAL, socket.SOCK_RAW

I do not know to build firmware myself.
by mercan001
Sun May 05, 2019 6:43 am
Forum: ESP8266 boards
Topic: OSError: [Errno 22] EINVAL, socket.SOCK_RAW
Replies: 9
Views: 9446

Re: OSError: [Errno 22] EINVAL, socket.SOCK_RAW

Thank you for your answers, but this is bad news. :(
Whereas I have to send raw code to net! I wonder if I can do it in a different way? Is there another way?
by mercan001
Sat May 04, 2019 10:08 am
Forum: ESP8266 boards
Topic: OSError: [Errno 22] EINVAL, socket.SOCK_RAW
Replies: 9
Views: 9446

Re: OSError: [Errno 22] EINVAL, socket.SOCK_RAW

Yes, I have seen. I don't want to connect to the server. If i wanted it i write different code.
by mercan001
Sat May 04, 2019 9:06 am
Forum: ESP8266 boards
Topic: OSError: [Errno 22] EINVAL, socket.SOCK_RAW
Replies: 9
Views: 9446

OSError: [Errno 22] EINVAL, socket.SOCK_RAW

Hi, I have little experience with micropython, i'm working with thonny and writing a code but receive error report. What is wrong? >>> import socket >>> socket.socket(socket.AF_INET,socket.SOCK_RAW,0) Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 22] EINVAL >>>