oracle / oracle/graalpython

Does GraalPython support socket.RAW_SOCKET?

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

Nobody has claimed this yet.

Dominant language
Python
Stars
1.6k
Forks
155
Avg merge
9h 42m
Merged PRs (30d)
36

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!

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.