pysctp icon indicating copy to clipboard operation
pysctp copied to clipboard

No luck after installing on Mac (OS X 10.6.8)

Open leetrout opened this issue 12 years ago • 0 comments

I've been playing around for the past couple hours trying to get this working on my Mac.

I've installed the SCTP libs from http://sctp.fh-muenster.de/index.html and I can build & install just fine but I keep running into socket.error: [Errno 43] Protocol not supported any time I try to instantiate an sctpsocket instance.

Traceback (most recent call last):
  File "test_local_cnx.py", line 24, in <module>
    tcp = sctpsocket_tcp(socket.AF_INET)
  File "sctp.py", line 1659, in __init__
    sctpsocket.__init__(self, family, TCP_STYLE, sk)
  File "sctp.py", line 1012, in __init__
    sk = socket.socket(family, style, IPPROTO_SCTP)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 182, in __init__
    _sock = _realsocket(family, type, proto)
socket.error: [Errno 43] Protocol not supported

leetrout avatar Nov 27 '11 09:11 leetrout