Yes.. That helps... But here I eant to have an option to select the port: ethernet/ wlan0 ans send my packets through the selected port. My setup is as follows: My raspberry pi and my laptop both are connected to the same WiFi and ports are wlan0. And it can be directly connected to the laptop using Ethernet cable. If this is the case, I wnat to change the port to the eth0 and send the packets
On Thursday, 12 October 2017 15:43:14 UTC+5:30, Justin Israel wrote: > > > > On Thu, Oct 12, 2017, 9:10 PM T Obulesu <[email protected] <javascript:>> > wrote: > >> I want to send some frames defined by me{Example, [0x45,0x43,0x32]} to >> the raspberry pi from any machine(Desktop/Laptop/other raspberry pi). But I >> want to send those frames over wifi or use wlan0 using python3.4 Any >> suggestions? >> > > Did you try searching for examples of how to send raw packets over a > socket in python? Here is an example: > > https://stackoverflow.com/a/12255141/496445 > > Does that help? > > -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/c832c8f4-5cc8-482d-abfe-12e8b3bfa5c6%40googlegroups.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/c832c8f4-5cc8-482d-abfe-12e8b3bfa5c6%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/8e58fc03-c368-406b-a243-2b0a7c45e506%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
