philpraxis/pysctp — Issue #8: No luck after installing on Mac (OS X 10.6.8)
Author: leetrout
Created: 2011-11-27 09:09:48+00:00
State: open

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
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
```