Giter Club home page Giter Club logo

Comments (8)

tuexen avatar tuexen commented on September 18, 2024

No, you can't. The reason is that there is none. For the userland stack the replacement is a pointer to the socket, which is opaque for users.
Why do you think you need the number?

from usrsctp.

gedOHub avatar gedOHub commented on September 18, 2024

Problem is that I have program implemented with select functionality. I need number for casting to SOCKET or adding directly to fd_set for selecting socket when data is receaved

from usrsctp.

tuexen avatar tuexen commented on September 18, 2024

You can't use SCTP sockets in combination with select(). The reason is that select() takes kernel sockets into considerations to which you refer to by an fd. The userland stack just deals with its own sockets, and therefore they don't exist in the kernel and can't be used in combination with select().

from usrsctp.

gedOHub avatar gedOHub commented on September 18, 2024

Is there any plans to code kernel version?

from usrsctp.

weinrank avatar weinrank commented on September 18, 2024

For Windows? No!

Linux and FreeBSD have SCTP kernel support out-of-the-box.

from usrsctp.

gedOHub avatar gedOHub commented on September 18, 2024

Why not? Problems from M$ side? Tell me more
2016 geg. 5 02:41 "Felix Weinrank" [email protected] raΕ‘Δ—:

For Windows? No!

Linux and FreeBSD have SCTP kernel support out-of-the-box.

β€”
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#80 (comment)

from usrsctp.

tuexen avatar tuexen commented on September 18, 2024

SCTP is supported natively at least by the following operating systems:

  • AIX
  • FreeBSD
  • HP/UX
  • Linux
  • Solaris

The FreeBSD sources are also used for the

  • userland stack usrsctp
  • Network kernel extension supporting Mac OS X: El Capitan, Yosemite
  • Windows kernel extension: SctpDrv

However, the Windows kernel extensions is not maintained anymore. It just needs someone with Windows expertise to do the work.

SCTP is commercially used in telephony signalling networks, especially mobile networks, and therefore the above selection of operating systems makes sense. As far as I know, Microsoft is not active in that area. Recently, SCTP is also used as a transport protocol in WebRTC. For integrating it into Web browsers and running on top of DTLS, you need a userland implementation. Therefore, incentives for Microsoft to integrate SCTP into their operating system might be litte.

NAT traversal is another issue, but can be dealt with UDP encapsulation of SCTP. This is currently supported by usrsctp, the FreeBSD stack and the NKEs for Mac OS X.

from usrsctp.

gedOHub avatar gedOHub commented on September 18, 2024

thank you for answer :)

from usrsctp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.