Does GraalPython support socket.RAW_SOCKET?

Open
#426 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
networking

Research direction

Start with GraalPython's socket module and the reported socket.RAW_SOCKET and socket.SOCK_RAW names. Reproduce the AttributeError, then determine whether raw sockets are supported and document the supported behavior or required workaround.

Written by the indexing model from the issue text.

Description

So I have a script that uses socket.RAW_SOCKET to ping other machines. but this doesn't seem available only giving me this:
AttributeError: module 'socket' has no attribute 'SOCK_RAW'

Is this available in graalpython or will i need to find a workaround?
Thanks!

Dominant language
Python
Stars
1.6k
Forks
155
Avg merge
8h 58m
Merged PRs (30d)
39

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oracle/graalpython

All issues in oracle/graalpython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.